blob: bc80de4ce04ab9e0045d9e82b38c0a116d77ab95 [file] [log] [blame]
error[E0019]: constant contains unimplemented expression type
--> $DIR/single_variant_match_ice.rs:6:5
|
LL | Foo::Prob => 42,
| ^^^^^^^^^
error[E0019]: constant contains unimplemented expression type
--> $DIR/single_variant_match_ice.rs:10:5
|
LL | x => 42,
| ^
error[E0723]: `if`, `match`, `&&` and `||` are not stable in const fn (see issue #57563)
--> $DIR/single_variant_match_ice.rs:18:13
|
LL | Prob => 0x1,
| ^^^^
|
= help: add #![feature(const_fn)] to the crate attributes to enable
error: aborting due to 3 previous errors
Some errors occurred: E0019, E0723.
For more information about an error, try `rustc --explain E0019`.