rust/src/test/ui/issue-23217.stderr
2017-12-14 23:26:39 +03:00

11 lines
316 B
Plaintext

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