fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
643 B23 linesraw
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
6help: there is an enum variant `Baz::Foo`; try using the variant's enum
7   |
8LL |     inner: Baz
9   |            ^^^
10
11error[E0412]: cannot find type `Foo` in this scope
12  --> $DIR/issue-35075.rs:6:9
13   |
14LL |     Foo(Foo<T>)
15   |         ^^^ not found in this scope
16help: there is an enum variant `Baz::Foo`; try using the variant's enum
17   |
18LL |     Foo(Baz)
19   |         ^^^
20
21error: aborting due to 2 previous errors
22
23For more information about this error, try `rustc --explain E0412`.