fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0599]: no variant or associated item named `A` found for enum `SomeEnum` in the current scope 2 --> $DIR/issue-23217.rs:2:19 3 | 4LL | pub enum SomeEnum { 5 | ----------------- variant or associated item `A` not found for this enum 6LL | B = SomeEnum::A, 7 | ^ 8 | | 9 | variant or associated item not found in `SomeEnum` 10 | help: there is a variant with a similar name: `B` 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0599`.