fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0599]: no variant or associated item named `Baz` found for enum `Foo` in the current scope 2 --> $DIR/issue-28971.rs:7:18 3 | 4LL | enum Foo { 5 | -------- variant or associated item `Baz` not found here 6... 7LL | 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 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0599`.