Files
rust/tests/ui/expr/issue-22933-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
749 B
Plaintext
Raw Normal View History

error[E0599]: no variant or associated item named `PIE` found for enum `Delicious` in the current scope
2018-12-07 18:15:36 +00:00
--> $DIR/issue-22933-2.rs:4:55
|
2018-02-23 03:42:32 +03:00
LL | enum Delicious {
| -------------- variant or associated item `PIE` not found for this enum
...
2018-02-23 03:42:32 +03:00
LL | ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
| ^^^ variant or associated item not found in `Delicious`
|
help: there is a variant with a similar name
|
LL - ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
LL + ApplePie = Delicious::Apple as isize | Delicious::Pie as isize,
|
error: aborting due to 1 previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0599`.