2020-01-08 10:05:31 -06:00
|
|
|
error[E0599]: no variant or associated item named `Baz` found for enum `Foo` in the current scope
|
2019-04-08 16:58:18 -05:00
|
|
|
--> $DIR/issue-28971.rs:7:18
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | enum Foo {
|
2022-07-01 18:47:26 -05:00
|
|
|
| -------- variant or associated item `Baz` not found for this enum
|
2017-12-10 13:47:55 -06:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | Foo::Baz(..) => (),
|
2019-03-10 18:20:15 -05:00
|
|
|
| ^^^
|
|
|
|
| |
|
2019-04-08 16:58:18 -05:00
|
|
|
| variant or associated item not found in `Foo`
|
|
|
|
| help: there is a variant with a similar name: `Bar`
|
2017-12-10 13:47:55 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2017-12-10 13:47:55 -06:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|