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