Function core::mem::forget_unsized[][src]

pub fn forget_unsized<T: ?Sized>(t: T)
🔬 This is a nightly-only experimental API. (forget_unsized)
This is supported on non-crate feature miri-test-libstd or test or doctest only.
Expand description

Like forget, but also accepts unsized values.

This function is just a shim intended to be removed when the unsized_locals feature gets stabilized.