]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_gcc/example/mini_core.rs
Rollup merge of #97516 - RalfJung:atomics, r=joshtriplett
[rust.git] / compiler / rustc_codegen_gcc / example / mini_core.rs
index a8435287d9fde698eb89c37a44b4c32dc5e3f4a5..ddcbb0d9fc7e822b1aeac5ecb84e9f2c68be1970 100644 (file)
@@ -514,7 +514,7 @@ pub mod intrinsics {
         pub fn copy<T>(src: *const T, dst: *mut T, count: usize);
         pub fn transmute<T, U>(e: T) -> U;
         pub fn ctlz_nonzero<T>(x: T) -> T;
-        pub fn needs_drop<T>() -> bool;
+        pub fn needs_drop<T: ?::Sized>() -> bool;
         pub fn bitreverse<T>(x: T) -> T;
         pub fn bswap<T>(x: T) -> T;
         pub fn write_bytes<T>(dst: *mut T, val: u8, count: usize);