File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1200,7 +1200,7 @@ pub struct Resolver<'a> {
12001200 pub found_unresolved_macro : bool ,
12011201
12021202 // List of crate local macros that we need to warn about as being unused.
1203- // Right now this only includes macro_rules! macros, and 2.0 macros .
1203+ // Right now this only includes macro_rules! macros, and macros 2.0.
12041204 unused_macros : FxHashSet < DefId > ,
12051205
12061206 // Maps the `Mark` of an expansion to its containing module or block.
Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11+ #![ allow( unused_macros) ]
12+
1113macro m( ) { } //~ ERROR `macro` is experimental (see issue #39412)
1214//~| HELP add #![feature(decl_macro)] to the crate attributes to enable
1315
You can’t perform that action at this time.
0 commit comments