]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23217.stderr
d87f239bca6906e865613569637a5ece0d89c80c
[rust.git] / src / test / ui / issues / issue-23217.stderr
1 error[E0599]: no variant named `A` found for type `SomeEnum` in the current scope
2   --> $DIR/issue-23217.rs:12:9
3    |
4 LL | pub enum SomeEnum {
5    | ----------------- variant `A` not found here
6 LL |     B = SomeEnum::A,
7    |         ^^^^^^^^^^^ variant not found in `SomeEnum`
8    |
9    = note: did you mean `SomeEnum::B`?
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0599`.