1 error: macro expansion ignores token `;` and any following
2 --> $DIR/macro-context.rs:3:15
4 LL | () => ( i ; typeof );
8 | ---- caused by the macro expansion here
10 = note: the usage of `m!` is likely invalid in type context
12 error: macro expansion ignores token `typeof` and any following
13 --> $DIR/macro-context.rs:3:17
15 LL | () => ( i ; typeof );
19 | ---- caused by the macro expansion here
21 = note: the usage of `m!` is likely invalid in expression context
23 error: macro expansion ignores token `;` and any following
24 --> $DIR/macro-context.rs:3:15
26 LL | () => ( i ; typeof );
30 | ---- caused by the macro expansion here
32 = note: the usage of `m!` is likely invalid in pattern context
34 error: expected expression, found reserved keyword `typeof`
35 --> $DIR/macro-context.rs:3:17
37 LL | () => ( i ; typeof );
38 | ^^^^^^ expected expression
41 | ----- in this macro invocation
43 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
45 error[E0412]: cannot find type `i` in this scope
46 --> $DIR/macro-context.rs:3:13
48 LL | () => ( i ; typeof );
49 | ^ help: a builtin type with a similar name exists: `i8`
52 | ---- in this macro invocation
54 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
56 error[E0425]: cannot find value `i` in this scope
57 --> $DIR/macro-context.rs:3:13
59 LL | () => ( i ; typeof );
60 | ^ help: a local variable with a similar name exists: `a`
63 | ---- in this macro invocation
65 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
67 error: aborting due to 6 previous errors
69 Some errors have detailed explanations: E0412, E0425.
70 For more information about an error, try `rustc --explain E0412`.