blob: c04e21f7c58572d7e6e63bd10dfc3ed01317e62b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0599]: no variant named `Baz` found for type `Foo` in the current scope
--> $DIR/issue-28971.rs:19:13
|
LL | enum Foo {
| -------- variant `Baz` not found here
...
LL | Foo::Baz(..) => (),
| ^^^^^^^^^^^^ variant not found in `Foo`
|
= note: did you mean `Foo::Bar`?
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
|