1 2 3 4 5 6 7 8
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() {}