about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPulkit Goyal <7895pulkit@gmail.com>2019-05-15 16:22:39 +0300
committerPulkit Goyal <7895pulkit@gmail.com>2019-05-15 16:22:39 +0300
commit65d09ea4682f4def84e890c9e42b5f24e6cc8443 (patch)
treed6d390a1673864de796ab92d2f4a9f54b76bfdca
parentf2951e6fd7fda39948a5c6a9a053f74a8a314a38 (diff)
downloadrust-65d09ea4682f4def84e890c9e42b5f24e6cc8443.tar.gz
rust-65d09ea4682f4def84e890c9e42b5f24e6cc8443.zip
Move `box` from the stable keyword to unstable keywords list
Fixes #60849
-rw-r--r--src/libsyntax_pos/symbol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs
index ec0ce4253fa..c2a18c9df83 100644
--- a/src/libsyntax_pos/symbol.rs
+++ b/src/libsyntax_pos/symbol.rs
@@ -30,7 +30,6 @@ symbols! {
 
         // Keywords that are used in stable Rust.
         As:                 "as",
-        Box:                "box",
         Break:              "break",
         Const:              "const",
         Continue:           "continue",
@@ -69,6 +68,7 @@ symbols! {
         // Keywords that are used in unstable Rust or reserved for future use.
         Abstract:           "abstract",
         Become:             "become",
+        Box:                "box",
         Do:                 "do",
         Final:              "final",
         Macro:              "macro",