]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0599]: no variant or associated item named `A` found for enum `SomeEnum` in the current scope |
0731742a | 2 | --> $DIR/issue-23217.rs:2:19 |
ff7c6d11 | 3 | | |
0531ce1d | 4 | LL | pub enum SomeEnum { |
48663c56 | 5 | | ----------------- variant or associated item `A` not found here |
0531ce1d | 6 | LL | B = SomeEnum::A, |
532ac7d7 XL |
7 | | ^ |
8 | | | | |
48663c56 XL |
9 | | variant or associated item not found in `SomeEnum` |
10 | | help: there is a variant with a similar name: `B` | |
ff7c6d11 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
0531ce1d | 14 | For more information about this error, try `rustc --explain E0599`. |