about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-16 10:43:35 +0200
committerGitHub <noreply@github.com>2019-05-16 10:43:35 +0200
commitb59ce94bceca7d0be2b6d81820d95bdaf0f020df (patch)
treeae786076ce1b1562e09a6220ea602039f8d9af01 /src
parent90952171ac624eb02f65ce5c6838d319755c13c7 (diff)
parent65d09ea4682f4def84e890c9e42b5f24e6cc8443 (diff)
downloadrust-b59ce94bceca7d0be2b6d81820d95bdaf0f020df.tar.gz
rust-b59ce94bceca7d0be2b6d81820d95bdaf0f020df.zip
Rollup merge of #60851 - Pulkit07:issue60849, r=Centril
Move `box` from the stable keyword to unstable keywords list

Fixes #60849
Diffstat (limited to 'src')
-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",