1 error: expected expression, found end of macro arguments
2 --> $DIR/attr-invalid-exprs.rs:12:13
4 LL | let _ = #[no_output] "Hello, world!";
7 error: macro expansion ignores token `,` and any following
8 --> $DIR/attr-invalid-exprs.rs:15:13
10 LL | let _ = #[duplicate] "Hello, world!";
11 | ^^^^^^^^^^^^ caused by the macro expansion here
13 = note: the usage of `duplicate!` is likely invalid in expression context
14 help: you might be missing a semicolon here
16 LL | let _ = #[duplicate]; "Hello, world!";
19 error: macro expansion ignores token `,` and any following
20 --> $DIR/attr-invalid-exprs.rs:24:9
23 | ^^^^^^^^^^^^ caused by the macro expansion here
25 = note: the usage of `duplicate!` is likely invalid in expression context
26 help: you might be missing a semicolon here
31 error: aborting due to 3 previous errors