fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0412]: cannot find type `Foo` in this scope 2 --> $DIR/issue-35075.rs:2:12 3 | 4LL | inner: Foo<T> 5 | ^^^ not found in this scope 6 | 7help: there is an enum variant `Baz::Foo`; try using the variant's enum 8 | 9LL | inner: Baz 10 | ^^^ 11 12error[E0412]: cannot find type `Foo` in this scope 13 --> $DIR/issue-35075.rs:6:9 14 | 15LL | Foo(Foo<T>) 16 | ^^^ not found in this scope 17 | 18help: there is an enum variant `Baz::Foo`; try using the variant's enum 19 | 20LL | Foo(Baz) 21 | ^^^ 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0412`.