2020-01-08 08:05:31 -08:00
|
|
|
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
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | pub enum SomeEnum {
|
2022-07-01 16:47:26 -07:00
|
|
|
| ----------------- variant or associated item `A` not found for this enum
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | B = SomeEnum::A,
|
2019-03-10 16:20:15 -07:00
|
|
|
| ^
|
|
|
|
| |
|
2019-04-08 17:58:18 -04:00
|
|
|
| variant or associated item not found in `SomeEnum`
|
|
|
|
| help: there is a variant with a similar name: `B`
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|