File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -271,8 +271,7 @@ impl<'a> Parser<'a> {
271
271
// MACRO_RULES ITEM
272
272
self . parse_item_macro_rules ( vis, has_bang) ?
273
273
} else if self . isnt_macro_invocation ( )
274
- && ( self . token . is_ident_named ( Symbol :: intern ( "import" ) )
275
- || self . token . is_ident_named ( Symbol :: intern ( "using" ) ) )
274
+ && ( self . token . is_ident_named ( sym:: import) || self . token . is_ident_named ( sym:: using) )
276
275
{
277
276
return self . recover_import_as_use ( ) ;
278
277
} else if self . isnt_macro_invocation ( ) && vis. kind . is_pub ( ) {
Original file line number Diff line number Diff line change @@ -782,6 +782,7 @@ symbols! {
782
782
impl_lint_pass,
783
783
impl_macros,
784
784
impl_trait_in_bindings,
785
+ import,
785
786
import_shadowing,
786
787
imported_main,
787
788
in_band_lifetimes,
@@ -1519,6 +1520,7 @@ symbols! {
1519
1520
use_nested_groups,
1520
1521
used,
1521
1522
used_with_arg,
1523
+ using,
1522
1524
usize ,
1523
1525
v1,
1524
1526
va_arg,
You can’t perform that action at this time.
0 commit comments