summary refs log tree commit diff
path: root/src/test/ui/issue-23217.stderr
blob: d542a10e9b605ac9378a6f888d4b7643d824ef9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0599]: no variant named `A` found for type `SomeEnum` in the current scope
  --> $DIR/issue-23217.rs:12:9
   |
LL | pub enum SomeEnum {
   | ----------------- variant `A` not found here
LL |     B = SomeEnum::A,
   |         ^^^^^^^^^^^ variant not found in `SomeEnum`
   |
   = note: did you mean `variant::B`?

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.