2017-12-10 19:47:55 +00:00
|
|
|
error[E0599]: no variant named `Baz` found for type `Foo` in the current scope
|
2018-12-07 18:15:36 +00:00
|
|
|
--> $DIR/issue-28971.rs:9:18
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | enum Foo {
|
2017-12-10 19:47:55 +00:00
|
|
|
| -------- variant `Baz` not found here
|
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | Foo::Baz(..) => (),
|
2019-01-21 03:37:38 +00:00
|
|
|
| -----^^^----
|
|
|
|
| | |
|
|
|
|
| | help: did you mean: `Bar`
|
|
|
|
| variant not found in `Foo`
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|