2017-12-10 22:47:55 +03:00
|
|
|
error[E0599]: no variant named `Baz` found for type `Foo` in the current scope
|
|
|
|
--> $DIR/issue-28971.rs:19:13
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | enum Foo {
|
2017-12-10 22:47:55 +03:00
|
|
|
| -------- variant `Baz` not found here
|
|
|
|
...
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | Foo::Baz(..) => (),
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^^^^^^^^^^^ variant not found in `Foo`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0599"
|