about summary refs log tree commit diff
path: root/src/liballoc
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/liballoc
parent2f1c24a60d173f323fdbe3c716349a9974134568 (diff)
downloadrust-81d0ecef2c4ba5ebb36a72f76adbce1b229fb856.tar.gz
rust-81d0ecef2c4ba5ebb36a72f76adbce1b229fb856.zip
Pin and PinBox are fundamental.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 5e5d7b91720..46d3ccb9de5 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -899,6 +899,7 @@ impl<T> Generator for Box<T>
 
 /// A pinned, heap allocated reference.
 #[unstable(feature = "pin", issue = "0")]
+#[fundamental]
 pub struct PinBox<T: ?Sized> {
     inner: Box<T>,
 }