diff options
| -rw-r--r-- | src/libcore/intrinsics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs index 4fcce7096b4..f795e41f7c5 100644 --- a/src/libcore/intrinsics.rs +++ b/src/libcore/intrinsics.rs @@ -716,7 +716,7 @@ extern "rust-intrinsic" { /// Moves a value out of scope without running drop glue. #[cfg(not(stage0))] - pub fn forget<T>(_: T); + pub fn forget<T: ?Sized>(_: T); /// Reinterprets the bits of a value of one type as another type. /// |
