2017-12-10 22:47:55 +03: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 22:47:55 +03:00
|
|
|
|
|
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(..) => (),
|
2019-03-10 16:20:15 -07:00
|
|
|
| ^^^
|
|
|
|
| |
|
|
|
|
| variant not found in `Foo`
|
|
|
|
| help: did you mean: `Bar`
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|