Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
772 B
Plaintext
Raw Normal View History

2021-07-29 23:15:53 +02:00
error[E0658]: `for` is not allowed in a `const`
2020-06-25 17:43:48 -07:00
--> $DIR/loop.rs:53:5
2019-12-10 21:11:53 -08:00
|
LL | / for i in 0..4 {
LL | | x += i;
LL | | }
| |_____^
2021-07-29 23:15:53 +02:00
|
= note: see issue #87575 <https://github.com/rust-lang/rust/issues/87575> for more information
= help: add `#![feature(const_for)]` to the crate attributes to enable
2019-12-10 21:11:53 -08:00
2021-07-29 23:15:53 +02:00
error[E0658]: `for` is not allowed in a `const`
2020-06-25 17:43:48 -07:00
--> $DIR/loop.rs:57:5
2019-12-10 21:11:53 -08:00
|
LL | / for i in 0..4 {
LL | | x += i;
LL | | }
| |_____^
2021-07-29 23:15:53 +02:00
|
= note: see issue #87575 <https://github.com/rust-lang/rust/issues/87575> for more information
= help: add `#![feature(const_for)]` to the crate attributes to enable
2019-12-10 21:11:53 -08:00
2020-05-21 12:49:38 -07:00
error: aborting due to 2 previous errors
2019-12-10 21:11:53 -08:00
2021-07-29 23:15:53 +02:00
For more information about this error, try `rustc --explain E0658`.