about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-18 15:20:39 -0700
committerGitHub <noreply@github.com>2020-06-18 15:20:39 -0700
commit49ab0cab618d9d1cb49220d7c253556a56148283 (patch)
tree7406d6dcc67933b6a2160892b29323ca3ea49a26 /src/libstd
parent39f8784eb6056c21c120bfa93bbec73e19773727 (diff)
parent0265e4e61bcd51b11f0b13b712245feb9c59ab50 (diff)
downloadrust-49ab0cab618d9d1cb49220d7c253556a56148283.tar.gz
rust-49ab0cab618d9d1cb49220d7c253556a56148283.zip
Rollup merge of #72279 - RalfJung:raw-ref-macros, r=nikomatsakis
add raw_ref macros

In https://github.com/rust-lang/rust/issues/64490, various people were in favor of exposing `&raw` as a macro first before making the actual syntax stable. So this PR (unstably) introduces those macros.

I'll create the tracking issue if we're okay moving forward with this.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index d6493454db5..ef699ede2a1 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -298,6 +298,7 @@
 #![feature(prelude_import)]
 #![feature(ptr_internals)]
 #![feature(raw)]
+#![feature(raw_ref_macros)]
 #![feature(renamed_spin_loop)]
 #![feature(rustc_attrs)]
 #![feature(rustc_private)]