]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28971.stderr
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / ui / issues / issue-28971.stderr
1 error[E0599]: no variant or associated item named `Baz` found for enum `Foo` in the current scope
2   --> $DIR/issue-28971.rs:7:18
3    |
4 LL | enum Foo {
5    | -------- variant or associated item `Baz` not found for this enum
6 ...
7 LL |             Foo::Baz(..) => (),
8    |                  ^^^
9    |                  |
10    |                  variant or associated item not found in `Foo`
11    |                  help: there is a variant with a similar name: `Bar`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0599`.