blob: b4001aba2882c0f26595c97f19be2abc0c7eb270 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
warning: expected `;`, found keyword `let`
--> $DIR/missing-semicolon-warning.rs:6:12
|
LL | $( let x = $e1 )*;
| ^^^
...
LL | fn main() { m!(0, 0; 0, 0); }
| --------------- in this macro invocation
|
= note: this was erroneously allowed and will become a hard error in a future release
warning: expected `;`, found `println`
--> $DIR/missing-semicolon-warning.rs:7:12
|
LL | $( println!("{}", $e2) )*;
| ^^^^^^^
...
LL | fn main() { m!(0, 0; 0, 0); }
| --------------- in this macro invocation
|
= note: this was erroneously allowed and will become a hard error in a future release
|