summary refs log tree commit diff
path: root/src/test/ui/issues/issue-28971.stderr
blob: 77d0b53ad216bbef9be9f34168281a8a88c41df1 (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(..) => (),
   |             -----^^^----
   |             |    |
   |             |    help: did you mean: `Bar`
   |             variant not found in `Foo`

error: aborting due to previous error

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