2017-12-10 13:47:55 -06:00
|
|
|
error[E0599]: no variant named `A` found for type `SomeEnum` in the current scope
|
2018-12-07 12:15:36 -06:00
|
|
|
--> $DIR/issue-23217.rs:2:19
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | pub enum SomeEnum {
|
2017-12-10 13:47:55 -06:00
|
|
|
| ----------------- variant `A` not found here
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | B = SomeEnum::A,
|
2018-12-07 12:15:36 -06:00
|
|
|
| ----------^
|
|
|
|
| |
|
|
|
|
| variant not found in `SomeEnum`
|
2018-03-20 17:08:04 -05:00
|
|
|
|
|
2018-12-07 12:15:36 -06:00
|
|
|
= help: did you mean `B`?
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|