@@ -23,79 +23,79 @@ symbols! {
2323 Keywords {
2424 // Special reserved identifiers used internally for elided lifetimes,
2525 // unnamed method parameters, crate root module, error recovery etc.
26- Invalid , "" ,
27- PathRoot , "{{root}}" ,
28- DollarCrate , "$crate" ,
29- Underscore , "_" ,
26+ Invalid : "" ,
27+ PathRoot : "{{root}}" ,
28+ DollarCrate : "$crate" ,
29+ Underscore : "_" ,
3030
3131 // Keywords that are used in stable Rust.
32- As , "as" ,
33- Box , "box" ,
34- Break , "break" ,
35- Const , "const" ,
36- Continue , "continue" ,
37- Crate , "crate" ,
38- Else , "else" ,
39- Enum , "enum" ,
40- Extern , "extern" ,
41- False , "false" ,
42- Fn , "fn" ,
43- For , "for" ,
44- If , "if" ,
45- Impl , "impl" ,
46- In , "in" ,
47- Let , "let" ,
48- Loop , "loop" ,
49- Match , "match" ,
50- Mod , "mod" ,
51- Move , "move" ,
52- Mut , "mut" ,
53- Pub , "pub" ,
54- Ref , "ref" ,
55- Return , "return" ,
56- SelfLower , "self" ,
57- SelfUpper , "Self" ,
58- Static , "static" ,
59- Struct , "struct" ,
60- Super , "super" ,
61- Trait , "trait" ,
62- True , "true" ,
63- Type , "type" ,
64- Unsafe , "unsafe" ,
65- Use , "use" ,
66- Where , "where" ,
67- While , "while" ,
32+ As : "as" ,
33+ Box : "box" ,
34+ Break : "break" ,
35+ Const : "const" ,
36+ Continue : "continue" ,
37+ Crate : "crate" ,
38+ Else : "else" ,
39+ Enum : "enum" ,
40+ Extern : "extern" ,
41+ False : "false" ,
42+ Fn : "fn" ,
43+ For : "for" ,
44+ If : "if" ,
45+ Impl : "impl" ,
46+ In : "in" ,
47+ Let : "let" ,
48+ Loop : "loop" ,
49+ Match : "match" ,
50+ Mod : "mod" ,
51+ Move : "move" ,
52+ Mut : "mut" ,
53+ Pub : "pub" ,
54+ Ref : "ref" ,
55+ Return : "return" ,
56+ SelfLower : "self" ,
57+ SelfUpper : "Self" ,
58+ Static : "static" ,
59+ Struct : "struct" ,
60+ Super : "super" ,
61+ Trait : "trait" ,
62+ True : "true" ,
63+ Type : "type" ,
64+ Unsafe : "unsafe" ,
65+ Use : "use" ,
66+ Where : "where" ,
67+ While : "while" ,
6868
6969 // Keywords that are used in unstable Rust or reserved for future use.
70- Abstract , "abstract" ,
71- Become , "become" ,
72- Do , "do" ,
73- Final , "final" ,
74- Macro , "macro" ,
75- Override , "override" ,
76- Priv , "priv" ,
77- Typeof , "typeof" ,
78- Unsized , "unsized" ,
79- Virtual , "virtual" ,
80- Yield , "yield" ,
70+ Abstract : "abstract" ,
71+ Become : "become" ,
72+ Do : "do" ,
73+ Final : "final" ,
74+ Macro : "macro" ,
75+ Override : "override" ,
76+ Priv : "priv" ,
77+ Typeof : "typeof" ,
78+ Unsized : "unsized" ,
79+ Virtual : "virtual" ,
80+ Yield : "yield" ,
8181
8282 // Edition-specific keywords that are used in stable Rust.
83- Dyn , "dyn" , // >= 2018 Edition only
83+ Dyn : "dyn" , // >= 2018 Edition only
8484
8585 // Edition-specific keywords that are used in unstable Rust or reserved for future use.
86- Async , "async" , // >= 2018 Edition only
87- Try , "try" , // >= 2018 Edition only
86+ Async : "async" , // >= 2018 Edition only
87+ Try : "try" , // >= 2018 Edition only
8888
8989 // Special lifetime names
90- UnderscoreLifetime , "'_" ,
91- StaticLifetime , "'static" ,
90+ UnderscoreLifetime : "'_" ,
91+ StaticLifetime : "'static" ,
9292
9393 // Weak keywords, have special meaning only in specific contexts.
94- Auto , "auto" ,
95- Catch , "catch" ,
96- Default , "default" ,
97- Existential , "existential" ,
98- Union , "union" ,
94+ Auto : "auto" ,
95+ Catch : "catch" ,
96+ Default : "default" ,
97+ Existential : "existential" ,
98+ Union : "union" ,
9999 }
100100
101101 // Other symbols that can be referred to with syntax_pos::symbols::*
0 commit comments