summaryrefslogtreecommitdiff
path: root/src/test/ui/issues/issue-28971.stderr
blob: f6362faab12b8762acdadcccd2194915f228d8ad (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:9: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`.