1 error[E0412]: cannot find type `Foo` in this scope
2 --> $DIR/issue-35075.rs:2:12
5 | ^^^ not found in this scope
6 help: there is an enum variant `Baz::Foo`; try using the variant's enum
11 error[E0412]: cannot find type `Foo` in this scope
12 --> $DIR/issue-35075.rs:6:9
15 | ^^^ not found in this scope
16 help: there is an enum variant `Baz::Foo`; try using the variant's enum
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0412`.