fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.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`.