]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-labeled-break.stderr
Rollup merge of #67255 - tuxillo:remove-i686-unknown-dragonfly, r=alexcrichton
[rust.git] / src / test / ui / consts / const-labeled-break.stderr
1 error[E0658]: `while` is not allowed in a `const`
2   --> $DIR/const-labeled-break.rs:10:19
3    |
4 LL | const CRASH: () = 'a: while break 'a {};
5    |                   ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: for more information, see https://github.com/rust-lang/rust/issues/52000
8    = help: add `#![feature(const_loop)]` to the crate attributes to enable
9    = help: add `#![feature(const_if_match)]` to the crate attributes to enable
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0658`.