fork/rust

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

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

master
772 B25 linesraw
1error[E0658]: `for` is not allowed in a `const`
2  --> $DIR/loop.rs:53:5
3   |
4LL | /     for i in 0..4 {
5LL | |         x += i;
6LL | |     }
7   | |_____^
8   |
9   = note: see issue #87575 <https://github.com/rust-lang/rust/issues/87575> for more information
10   = help: add `#![feature(const_for)]` to the crate attributes to enable
11
12error[E0658]: `for` is not allowed in a `const`
13  --> $DIR/loop.rs:57:5
14   |
15LL | /     for i in 0..4 {
16LL | |         x += i;
17LL | |     }
18   | |_____^
19   |
20   = note: see issue #87575 <https://github.com/rust-lang/rust/issues/87575> for more information
21   = help: add `#![feature(const_for)]` to the crate attributes to enable
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0658`.