fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
532 B12 linesraw
1error[E0599]: no variant or associated item named `PIE` found for type `Delicious` in the current scope
2  --> $DIR/issue-22933-2.rs:4:55
3   |
4LL | enum Delicious {
5   | -------------- variant or associated item `PIE` not found here
6...
7LL |     ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
8   |                                                       ^^^ variant or associated item not found in `Delicious`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0599`.