Rollup merge of #24742 - mbrubeck:keywords, r=steveklabnik
* Add two missing keywords, `Self` and `proc` * Fix some mis-alphabetized keywords r? @steveklabnik
This commit is contained in:
commit
292a25f755
@ -198,10 +198,11 @@ grammar as double-quoted strings. Other tokens have exact rules given.
|
|||||||
| fn | for | if | impl | in |
|
| fn | for | if | impl | in |
|
||||||
| let | loop | macro | match | mod |
|
| let | loop | macro | match | mod |
|
||||||
| move | mut | offsetof | override | priv |
|
| move | mut | offsetof | override | priv |
|
||||||
| pub | pure | ref | return | sizeof |
|
| proc | pub | pure | ref | return |
|
||||||
| static | self | struct | super | true |
|
| Self | self | sizeof | static | struct |
|
||||||
| trait | type | typeof | unsafe | unsized |
|
| super | trait | true | type | typeof |
|
||||||
| use | virtual | where | while | yield |
|
| unsafe | unsized | use | virtual | where |
|
||||||
|
| while | yield | | | |
|
||||||
|
|
||||||
|
|
||||||
Each of these keywords has special meaning in its grammar, and all of them are
|
Each of these keywords has special meaning in its grammar, and all of them are
|
||||||
|
Loading…
Reference in New Issue
Block a user