We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06cf9ae commit f211581Copy full SHA for f211581
src/libcore/intrinsics.rs
@@ -716,7 +716,7 @@ extern "rust-intrinsic" {
716
717
/// Moves a value out of scope without running drop glue.
718
#[cfg(not(stage0))]
719
- pub fn forget<T>(_: T);
+ pub fn forget<T: ?Sized>(_: T);
720
721
/// Reinterprets the bits of a value of one type as another type.
722
///
0 commit comments