summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/missing-semicolon.stderr
blob: 4108cced366a6c64d2b53808ab8b39860413edf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected one of `.`, `;`, `?`, `else`, or an operator, found keyword `let`
  --> $DIR/missing-semicolon.rs:3:12
   |
LL |         $( let x = $e1 )*;
   |            ^^^ expected one of `.`, `;`, `?`, `else`, or an operator
...
LL | fn main() { m!(0, 0; 0, 0); }
   |             -------------- in this macro invocation
   |
   = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 1 previous error