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