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