rust/src/test/ui/issues/issue-23217.stderr

15 lines
479 B
Plaintext
Raw Normal View History

error[E0599]: no variant named `A` found for type `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 `A` not found here
2018-02-23 00:42:32 +00:00
LL | B = SomeEnum::A,
2019-03-10 23:20:15 +00:00
| ^
| |
| variant not found in `SomeEnum`
| help: did you mean: `B`
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0599`.