@@ -3,36 +3,33 @@ error: macro expansion ignores token `;` and any following
33 |
44LL | () => ( i ; typeof ); //~ ERROR expected expression, found reserved keyword `typeof`
55 | ^
6- |
7- note: caused by the macro expansion here; the usage of `m!` is likely invalid in type context
8- --> $DIR/macro-context.rs:20:12
9- |
6+ ...
107LL | let a: m!();
11- | ^^^^
8+ | ---- caused by the macro expansion here
9+ |
10+ = note: the usage of `m!` is likely invalid in type context
1211
1312error: macro expansion ignores token `typeof` and any following
1413 --> $DIR/macro-context.rs:13:17
1514 |
1615LL | () => ( i ; typeof ); //~ ERROR expected expression, found reserved keyword `typeof`
1716 | ^^^^^^
18- |
19- note: caused by the macro expansion here; the usage of `m!` is likely invalid in expression context
20- --> $DIR/macro-context.rs:21:13
21- |
17+ ...
2218LL | let i = m!();
23- | ^^^^
19+ | ---- caused by the macro expansion here
20+ |
21+ = note: the usage of `m!` is likely invalid in expression context
2422
2523error: macro expansion ignores token `;` and any following
2624 --> $DIR/macro-context.rs:13:15
2725 |
2826LL | () => ( i ; typeof ); //~ ERROR expected expression, found reserved keyword `typeof`
2927 | ^
30- |
31- note: caused by the macro expansion here; the usage of `m!` is likely invalid in pattern context
32- --> $DIR/macro-context.rs:23:9
33- |
28+ ...
3429LL | m!() => {}
35- | ^^^^
30+ | ---- caused by the macro expansion here
31+ |
32+ = note: the usage of `m!` is likely invalid in pattern context
3633
3734error: expected expression, found reserved keyword `typeof`
3835 --> $DIR/macro-context.rs:13:17
0 commit comments