summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/missing-semicolon.stderr
blob: e0d5e84ec3177bf8e1467de5a65ac94e515c1f01 (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 previous error