1 error[E0599]: no variant named `PIE` found for type `Delicious` in the current scope
2 --> $DIR/issue-22933-2.rs:14:44
5 | -------------- variant `PIE` not found here
7 LL | ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
8 | ^^^^^^^^^^^^^^ variant not found in `Delicious`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0599`.