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