diff options
Diffstat (limited to 'src/librustsyntax/parse/token.rs')
| -rw-r--r-- | src/librustsyntax/parse/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustsyntax/parse/token.rs b/src/librustsyntax/parse/token.rs index f60e2f26381..9413607aaf1 100644 --- a/src/librustsyntax/parse/token.rs +++ b/src/librustsyntax/parse/token.rs @@ -260,7 +260,7 @@ fn bad_expr_word_table() -> hashmap<str, ()> { "class", "const", "cont", "copy", "crust", "do", "else", "enum", "export", "fail", "fn", "for", "if", "iface", "impl", "import", "let", "log", "loop", "mod", - "mut", "mutable", "native", "new", "pure", "resource", + "mut", "native", "new", "pure", "resource", "ret", "trait", "type", "unchecked", "unsafe", "while"]; for keys.each {|word| words.insert(word, ()); |
