fork/rust

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

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

master
466 B18 linesraw
1error: `loop...else` loops are not supported
2  --> $DIR/loop-else-break-with-value.rs:5:7
3   |
4LL |       let Some(1) = loop {
5   |                     ---- `else` is attached to this loop
6...
7LL |       } else {
8   |  _______^
9LL | |
10LL | |
11LL | |         return;
12LL | |     };
13   | |_____^
14   |
15   = note: consider moving this `else` clause to a separate `if` statement and use a `bool` variable to control if it should run
16
17error: aborting due to previous error
18