1 error[E0658]: `while` is not allowed in a `const`
2 --> $DIR/const-labeled-break.rs:10:19
4 LL | const CRASH: () = 'a: while break 'a {};
5 | ^^^^^^^^^^^^^^^^^^^^^
7 = note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
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
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0658`.