about summary refs log tree commit diff
path: root/library/core/src/prelude/v1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/prelude/v1.rs')
-rw-r--r--library/core/src/prelude/v1.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/library/core/src/prelude/v1.rs b/library/core/src/prelude/v1.rs
index 10525a16f3a..29f73bb4942 100644
--- a/library/core/src/prelude/v1.rs
+++ b/library/core/src/prelude/v1.rs
@@ -103,3 +103,11 @@ pub use crate::macros::builtin::cfg_eval;
     reason = "placeholder syntax for type ascription"
 )]
 pub use crate::macros::builtin::type_ascribe;
+
+#[cfg(not(bootstrap))]
+#[unstable(
+    feature = "deref_patterns",
+    issue = "87121",
+    reason = "placeholder syntax for deref patterns"
+)]
+pub use crate::macros::builtin::deref;