rust/src/test/ui/missing/missing-semicolon-warning.stderr
2018-12-25 21:08:33 -07:00

22 lines
726 B
Text

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