abi_stable::utilsFunction leak_value
Source pub fn leak_value<'a, T>(value: T) -> &'a Twhere
T: 'a,
Expand description
Leaks value
into the heap, and returns a reference to it.
ยงWarning
You must be careful when calling this function,
since this leak is ignored by miri.