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

error: aborting due to previous error