Promote 'impl' from restricted keyword to strict
This commit is contained in:
parent
3d2a74a160
commit
be1fdf983f
10 changed files with 18 additions and 19 deletions
|
@ -416,7 +416,6 @@ fn restricted_keyword_table() -> HashMap<~str, ()> {
|
|||
let keys = ~[
|
||||
~"const", ~"copy",
|
||||
~"fail", ~"fn",
|
||||
~"impl",
|
||||
~"unsafe"
|
||||
];
|
||||
for keys.each |word| {
|
||||
|
@ -434,7 +433,7 @@ fn strict_keyword_table() -> HashMap<~str, ()> {
|
|||
~"do", ~"drop",
|
||||
~"else", ~"enum", ~"export", ~"extern",
|
||||
~"false", ~"for",
|
||||
~"if",
|
||||
~"if", ~"impl",
|
||||
~"let", ~"log", ~"loop",
|
||||
~"match", ~"mod", ~"move", ~"mut",
|
||||
~"priv", ~"pub", ~"pure",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue