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
7 | not found in this scope
8 | help: you can try using the variant's enum: `Baz`
10 error[E0412]: cannot find type `Foo` in this scope
11 --> $DIR/issue-35075.rs:16:9
13 LL | Foo(Foo<T>) //~ ERROR cannot find type `Foo` in this scope
16 | not found in this scope
17 | help: you can try using the variant's enum: `Baz`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0412`.