fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
418 B19 linesraw
1error[E0744]: `for` is not allowed in a `const`
2  --> $DIR/loop.rs:63:5
3   |
4LL | /     for i in 0..4 {
5LL | |         x += i;
6LL | |     }
7   | |_____^
8
9error[E0744]: `for` is not allowed in a `const`
10  --> $DIR/loop.rs:67:5
11   |
12LL | /     for i in 0..4 {
13LL | |         x += i;
14LL | |     }
15   | |_____^
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0744`.