summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/missing-expression-in-for-loop.stderr
blob: 74a7c4224fae1a420d022e6ac15043d34483d398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: missing expression to iterate on in `for` loop
  --> $DIR/missing-expression-in-for-loop.rs:2:14
   |
LL |     for i in {
   |              ^
   |
help: try adding an expression to the `for` loop
   |
LL |     for i in /* expression */ {
   |              ++++++++++++++++

error: aborting due to previous error