fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
772 B15 linesraw
1error[E0599]: no variant or associated item named `PIE` found for enum `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 for this enum
6...
7LL |     ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
8   |                                                       ^^^
9   |                                                       |
10   |                                                       variant or associated item not found in `Delicious`
11   |                                                       help: there is a variant with a similar name: `Pie`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0599`.