summary refs log tree commit diff
path: root/src/test/ui/issues/issue-28971.stderr
blob: 4781f7abe8116432870eed508caa932024837337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0599]: no variant named `Baz` found for type `Foo` in the current scope
  --> $DIR/issue-28971.rs:9:18
   |
LL | enum Foo {
   | -------- variant `Baz` not found here
...
LL |             Foo::Baz(..) => (),
   |                  ^^^
   |                  |
   |                  variant not found in `Foo`
   |                  help: did you mean: `Bar`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.