rust/tests/ui/issues/issue-22933-2.rs
2023-01-11 09:32:08 +00:00

9 lines
204 B
Rust

enum Delicious {
Pie = 0x1,
Apple = 0x2,
ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
//~^ ERROR no variant or associated item named `PIE` found
}
fn main() {}