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 the macro `m` (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 the macro `m` (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 the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
67 warning: trailing semicolon in macro used in expression position
68 --> $DIR/macro-context.rs:3:15
70 LL | () => ( i ; typeof );
74 | ---- in this macro invocation
76 = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
77 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
78 = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
79 = note: this warning originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
81 error: aborting due to 6 previous errors; 1 warning emitted
83 Some errors have detailed explanations: E0412, E0425.
84 For more information about an error, try `rustc --explain E0412`.