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