]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23217.stderr
Various minor/cosmetic improvements to code
[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:19
3    |
4 LL | pub enum SomeEnum {
5    | ----------------- variant `A` not found here
6 LL |     B = SomeEnum::A,
7    |         ----------^
8    |         |
9    |         variant not found in `SomeEnum`
10    |
11    = help: did you mean `B`?
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0599`.