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 8a4573f commit 4159b27Copy full SHA for 4159b27
src/libcore/intrinsics.rs
@@ -36,13 +36,13 @@
36
issue = "0")]
37
#![allow(missing_docs)]
38
39
+use crate::mem;
40
+
41
#[stable(feature = "drop_in_place", since = "1.8.0")]
42
#[rustc_deprecated(reason = "no longer an intrinsic - use `ptr::drop_in_place` directly",
43
since = "1.18.0")]
44
pub use crate::ptr::drop_in_place;
45
-use crate::mem;
-
46
extern "rust-intrinsic" {
47
// N.B., these intrinsics take raw pointers because they mutate aliased
48
// memory, which is not valid for either `&` or `&mut`.
0 commit comments