fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: macro expansion ignores token `;` and any following 2 --> $DIR/macro-context.rs:3:15 3 | 4LL | () => ( i ; typeof ); 5 | ^ 6... 7LL | let a: m!(); 8 | ---- caused by the macro expansion here 9 | 10 = note: the usage of `m!` is likely invalid in type context 11 12error: macro expansion ignores token `typeof` and any following 13 --> $DIR/macro-context.rs:3:17 14 | 15LL | () => ( i ; typeof ); 16 | ^^^^^^ 17... 18LL | let i = m!(); 19 | ---- caused by the macro expansion here 20 | 21 = note: the usage of `m!` is likely invalid in expression context 22 23error: macro expansion ignores token `;` and any following 24 --> $DIR/macro-context.rs:3:15 25 | 26LL | () => ( i ; typeof ); 27 | ^ 28... 29LL | m!() => {} 30 | ---- caused by the macro expansion here 31 | 32 = note: the usage of `m!` is likely invalid in pattern context 33 34error: expected expression, found reserved keyword `typeof` 35 --> $DIR/macro-context.rs:3:17 36 | 37LL | () => ( i ; typeof ); 38 | ^^^^^^ expected expression 39... 40LL | m!(); 41 | ----- in this macro invocation 42 | 43 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 44 45error: aborting due to 4 previous errors 46