about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorboats <boats@mozilla.com>2018-03-15 16:16:11 -0700
committerboats <boats@mozilla.com>2018-03-15 16:16:11 -0700
commit81d0ecef2c4ba5ebb36a72f76adbce1b229fb856 (patch)
treed82d91e8edc40f890cc38d62670ccb8cc6953f0d /src/libcore
parent2f1c24a60d173f323fdbe3c716349a9974134568 (diff)
downloadrust-81d0ecef2c4ba5ebb36a72f76adbce1b229fb856.tar.gz
rust-81d0ecef2c4ba5ebb36a72f76adbce1b229fb856.zip
Pin and PinBox are fundamental.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/mem.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 792d71732e6..e960b5ae758 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -1112,6 +1112,7 @@ pub unsafe fn unreachable() -> ! {
 /// safe to move a value out of a pinned reference unless the type of that
 /// value implements the `Unpin` trait.
 #[unstable(feature = "pin", issue = "0")]
+#[fundamental]
 pub struct Pin<'a, T: ?Sized + 'a> {
     inner: &'a mut T,
 }