fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
448 B18 linesraw
1error: expected `{`, found `}`
2  --> $DIR/while-if-let-without-body.rs:11:1
3   |
4LL |       while if let Some(thing) = container.get(i) {
5   |  _____-----_-
6   | |     |
7   | |     while parsing the body of this `while` expression
8LL | |
9LL | |
10LL | |         println!("{:?}", thing);
11LL | |         i += 1;
12LL | |     }
13   | |_____- this `while` condition successfully parsed
14LL |   }
15   |   ^ expected `{`
16
17error: aborting due to previous error
18