]> git.lizzy.rs Git - rust.git/blob - src/test/ui/missing/missing-semicolon-warning.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / missing / missing-semicolon-warning.stderr
1 warning: expected `;`, found keyword `let`
2   --> $DIR/missing-semicolon-warning.rs:6:12
3    |
4 LL |         $( let x = $e1 )*; //~ WARN expected `;`
5    |            ^^^
6 ...
7 LL | fn main() { m!(0, 0; 0, 0); }
8    |             --------------- in this macro invocation
9    |
10    = note: This was erroneously allowed and will become a hard error in a future release
11
12 warning: expected `;`, found `println`
13   --> $DIR/missing-semicolon-warning.rs:7:12
14    |
15 LL |         $( println!("{}", $e2) )*; //~ WARN expected `;`
16    |            ^^^^^^^
17 ...
18 LL | fn main() { m!(0, 0; 0, 0); }
19    |             --------------- in this macro invocation
20    |
21    = note: This was erroneously allowed and will become a hard error in a future release
22