5 const FOO: u32 = match Foo::Prob {
6 Foo::Prob => 42, //~ ERROR unimplemented expression type
9 const BAR: u32 = match Foo::Prob {
10 x => 42, //~ ERROR unimplemented expression type
14 pub const fn as_val(&self) -> u8 {
18 Prob => 0x1, //~ ERROR `if`, `match`, `&&` and `||` are not stable in const fn