diff options
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 9786d2141f0..0c4daf0a6e5 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -414,7 +414,6 @@ fn temporary_keyword_table() -> HashMap<~str, ()> { fn restricted_keyword_table() -> HashMap<~str, ()> { let words = str_hash(); let keys = ~[ - ~"fail", ~"unsafe" ]; for keys.each |word| { @@ -432,7 +431,7 @@ fn strict_keyword_table() -> HashMap<~str, ()> { ~"const", ~"copy", ~"do", ~"drop", ~"else", ~"enum", ~"export", ~"extern", - ~"false", ~"fn", ~"for", + ~"fail", ~"false", ~"fn", ~"for", ~"if", ~"impl", ~"let", ~"log", ~"loop", ~"match", ~"mod", ~"move", ~"mut", |
