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(
170170 parser. parse_expr ( ) . ok ( )
171171}
172172
173- const RUST_KW : [ Symbol ; 57 ] = [
173+ const RUST_KW : [ Symbol ; 65 ] = [
174174 kw:: DollarCrate ,
175175 kw:: Underscore ,
176176 kw:: As ,
177- kw:: Box ,
178177 kw:: Break ,
179178 kw:: Const ,
180179 kw:: Continue ,
@@ -211,6 +210,7 @@ const RUST_KW: [Symbol; 57] = [
211210 kw:: While ,
212211 kw:: Abstract ,
213212 kw:: Become ,
213+ kw:: Box ,
214214 kw:: Do ,
215215 kw:: Final ,
216216 kw:: Macro ,
@@ -220,12 +220,20 @@ const RUST_KW: [Symbol; 57] = [
220220 kw:: Unsized ,
221221 kw:: Virtual ,
222222 kw:: Yield ,
223- kw:: Dyn ,
224223 kw:: Async ,
224+ kw:: Await ,
225+ kw:: Dyn ,
226+ kw:: Gen ,
225227 kw:: Try ,
226- kw:: StaticLifetime ,
227228 kw:: Auto ,
229+ kw:: Builtin ,
228230 kw:: Catch ,
229231 kw:: Default ,
232+ kw:: MacroRules ,
233+ kw:: Raw ,
234+ kw:: Reuse ,
235+ kw:: Safe ,
236+ kw:: StaticLifetime ,
230237 kw:: Union ,
238+ kw:: Yeet ,
231239] ;
You can’t perform that action at this time.
0 commit comments