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 | ^^^^^^^^^^^^- help: you might be missing a semicolon here: `;`
13 | caused by the macro expansion here
15 = note: the usage of `duplicate!` is likely invalid in expression context
17 error: macro expansion ignores token `,` and any following
18 --> $DIR/attr-invalid-exprs.rs:24:9
21 | ^^^^^^^^^^^^- help: you might be missing a semicolon here: `;`
23 | caused by the macro expansion here
25 = note: the usage of `duplicate!` is likely invalid in expression context
27 error: aborting due to 3 previous errors