File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
src/tools/rustfmt/src/parse/macros Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -170,11 +170,10 @@ pub(crate) fn parse_expr(
170
170
parser. parse_expr ( ) . ok ( )
171
171
}
172
172
173
- const RUST_KW : [ Symbol ; 57 ] = [
173
+ const RUST_KW : [ Symbol ; 65 ] = [
174
174
kw:: DollarCrate ,
175
175
kw:: Underscore ,
176
176
kw:: As ,
177
- kw:: Box ,
178
177
kw:: Break ,
179
178
kw:: Const ,
180
179
kw:: Continue ,
@@ -211,6 +210,7 @@ const RUST_KW: [Symbol; 57] = [
211
210
kw:: While ,
212
211
kw:: Abstract ,
213
212
kw:: Become ,
213
+ kw:: Box ,
214
214
kw:: Do ,
215
215
kw:: Final ,
216
216
kw:: Macro ,
@@ -220,12 +220,20 @@ const RUST_KW: [Symbol; 57] = [
220
220
kw:: Unsized ,
221
221
kw:: Virtual ,
222
222
kw:: Yield ,
223
- kw:: Dyn ,
224
223
kw:: Async ,
224
+ kw:: Await ,
225
+ kw:: Dyn ,
226
+ kw:: Gen ,
225
227
kw:: Try ,
226
- kw:: StaticLifetime ,
227
228
kw:: Auto ,
229
+ kw:: Builtin ,
228
230
kw:: Catch ,
229
231
kw:: Default ,
232
+ kw:: MacroRules ,
233
+ kw:: Raw ,
234
+ kw:: Reuse ,
235
+ kw:: Safe ,
236
+ kw:: StaticLifetime ,
230
237
kw:: Union ,
238
+ kw:: Yeet ,
231
239
] ;
You can’t perform that action at this time.
0 commit comments