rust/tests/ui/issues/issue-23217.stderr

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

15 lines
573 B
Plaintext
Raw Normal View History

error[E0599]: no variant or associated item named `A` found for enum `SomeEnum` in the current scope
2018-12-07 18:15:36 +00:00
--> $DIR/issue-23217.rs:2:19
|
2018-02-23 00:42:32 +00:00
LL | pub enum SomeEnum {
| ----------------- variant or associated item `A` not found for this enum
2018-02-23 00:42:32 +00:00
LL | B = SomeEnum::A,
2019-03-10 23:20:15 +00:00
| ^
| |
2019-04-08 21:58:18 +00:00
| variant or associated item not found in `SomeEnum`
| help: there is a variant with a similar name: `B`
error: aborting due to 1 previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0599`.