1 error: arguments to `macro_use` are not allowed here
2 --> $DIR/issue-43106-gating-of-macro_use.rs:12:17
4 LL | mod inner { #![macro_use(my_macro)] }
5 | ^^^^^^^^^^^^^^^^^^^^^^^
7 error: arguments to `macro_use` are not allowed here
8 --> $DIR/issue-43106-gating-of-macro_use.rs:9:1
10 LL | #[macro_use(my_macro)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
13 error: arguments to `macro_use` are not allowed here
14 --> $DIR/issue-43106-gating-of-macro_use.rs:6:1
16 LL | #![macro_use(my_macro)]
17 | ^^^^^^^^^^^^^^^^^^^^^^^
19 error: malformed `macro_use` attribute input
20 --> $DIR/issue-43106-gating-of-macro_use.rs:15:5
22 LL | #[macro_use = "2700"] struct S;
23 | ^^^^^^^^^^^^^^^^^^^^^
25 help: the following are the possible correct uses
27 LL | #[macro_use] struct S;
29 LL | #[macro_use(name1, name2, ...)] struct S;
30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 error: aborting due to 4 previous errors