2017-12-10 13:47:55 -06:00
|
|
|
error[E0599]: no variant named `A` found for type `SomeEnum` in the current scope
|
|
|
|
--> $DIR/issue-23217.rs:12:9
|
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
11 | pub enum SomeEnum {
|
2017-12-10 13:47:55 -06:00
|
|
|
| ----------------- variant `A` not found here
|
|
|
|
12 | B = SomeEnum::A,
|
|
|
|
| ^^^^^^^^^^^ variant not found in `SomeEnum`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0599"
|