]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22933-2.stderr
435a89b716f96e4cad44701b91e578ea0551659b
[rust.git] / src / test / ui / issues / issue-22933-2.stderr
1 error[E0599]: no variant named `PIE` found for type `Delicious` in the current scope
2   --> $DIR/issue-22933-2.rs:14:44
3    |
4 LL | enum Delicious {
5    | -------------- variant `PIE` not found here
6 ...
7 LL |     ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
8    |                                            ^^^^^^^^^^^^^^ variant not found in `Delicious`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0599`.