blob: 50627c3252dd6228c3a29fb3bdba12e950ca8e20 (
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 )*; //~ WARN expected `;`
| ^^^
...
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) )*; //~ WARN expected `;`
| ^^^^^^^
...
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
|