blob: 6237aae67be60c55a9ddf45befbbabe831c6d2a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0599]: no variant named `Baz` found for type `Foo` in the current scope
--> $DIR/issue-28971.rs:19:13
|
13 | enum Foo {
| -------- variant `Baz` not found here
...
19 | Foo::Baz(..) => (),
| ^^^^^^^^^^^^ variant not found in `Foo`
error: aborting due to previous error
|