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> {
1200
1200
pub found_unresolved_macro : bool ,
1201
1201
1202
1202
// 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.
1204
1204
unused_macros : FxHashSet < DefId > ,
1205
1205
1206
1206
// Maps the `Mark` of an expansion to its containing module or block.
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ #![ allow( unused_macros) ]
12
+
11
13
macro m( ) { } //~ ERROR `macro` is experimental (see issue #39412)
12
14
//~| HELP add #![feature(decl_macro)] to the crate attributes to enable
13
15
You can’t perform that action at this time.
0 commit comments