rust/tests/ui/expr/issue-22933-2.rs
2024-04-21 15:43:43 -03: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() {}