rust/tests/ui/issues/issue-22933-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
204 B
Rust
Raw Normal View History

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() {}