about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-10-10 17:33:19 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-10-14 12:51:13 +0300
commite6115af4bd5f07024e0b73139e1dbcd68c96d9f7 (patch)
treecaead936dd84ba0d4492222d3c3bd6da121dffd3 /src/libsyntax_pos
parent3037965b5bb762b6ed0dc860aefe01b664943ce8 (diff)
downloadrust-e6115af4bd5f07024e0b73139e1dbcd68c96d9f7.tar.gz
rust-e6115af4bd5f07024e0b73139e1dbcd68c96d9f7.zip
Implement `dyn Trait` syntax
Diffstat (limited to 'src/libsyntax_pos')
-rw-r--r--src/libsyntax_pos/symbol.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs
index 4d3db15ef29..872fc031cfb 100644
--- a/src/libsyntax_pos/symbol.rs
+++ b/src/libsyntax_pos/symbol.rs
@@ -309,10 +309,11 @@ declare_keywords! {
     (54, Yield,          "yield")
 
     // Weak keywords, have special meaning only in specific contexts.
-    (55, Default,        "default")
-    (56, StaticLifetime, "'static")
-    (57, Union,          "union")
-    (58, Catch,          "catch")
+    (55, Catch,          "catch")
+    (56, Default,        "default")
+    (57, Dyn,            "dyn")
+    (58, StaticLifetime, "'static")
+    (59, Union,          "union")
 }
 
 // If an interner exists in TLS, return it. Otherwise, prepare a fresh one.