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