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