mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
syntax: Remove 'of' and 'check' from keyword table
This commit is contained in:
parent
8415515cbe
commit
ab9cf45a7c
@ -386,7 +386,6 @@ fn contextual_keyword_table() -> hashmap<~str, ()> {
|
||||
~"as",
|
||||
~"else",
|
||||
~"move",
|
||||
~"of",
|
||||
~"priv", ~"pub",
|
||||
~"self", ~"send", ~"static",
|
||||
~"use",
|
||||
@ -417,7 +416,7 @@ fn restricted_keyword_table() -> hashmap<~str, ()> {
|
||||
let keys = ~[
|
||||
~"again", ~"assert",
|
||||
~"break",
|
||||
~"check", ~"const", ~"copy",
|
||||
~"const", ~"copy",
|
||||
~"do", ~"drop",
|
||||
~"else", ~"enum", ~"export", ~"extern",
|
||||
~"fail", ~"false", ~"fn", ~"for",
|
||||
|
Loading…
Reference in New Issue
Block a user