fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
435 B13 linesraw
1error[E0571]: `break` with value from a `for` loop
2  --> $DIR/loop-break-value-no-repeat.rs:12:9
3   |
4LL |         break 22
5   |         ^^^^^^^^ can only break with a value inside `loop` or breakable block
6help: instead, use `break` on its own without a value inside this `for` loop
7   |
8LL |         break
9   |         ^^^^^
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0571`.