summary refs log tree commit diff
path: root/src/test/ui/missing/missing-semicolon-warning.stderr
blob: b3f3ebc855daaece455fa244f59c5c4a8c14b3ad (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