]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0412]: cannot find type `Foo` in this scope |
0731742a | 2 | --> $DIR/issue-35075.rs:2:12 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | inner: Foo<T> |
0731742a | 5 | | ^^^ not found in this scope |
e74abb32 | 6 | | |
0731742a XL |
7 | help: there is an enum variant `Baz::Foo`; try using the variant's enum |
8 | | | |
532ac7d7 | 9 | LL | inner: Baz |
94222f64 | 10 | | ~~~ |
8faf50e0 XL |
11 | |
12 | error[E0412]: cannot find type `Foo` in this scope | |
0731742a | 13 | --> $DIR/issue-35075.rs:6:9 |
8faf50e0 | 14 | | |
532ac7d7 | 15 | LL | Foo(Foo<T>) |
0731742a | 16 | | ^^^ not found in this scope |
e74abb32 | 17 | | |
0731742a XL |
18 | help: there is an enum variant `Baz::Foo`; try using the variant's enum |
19 | | | |
532ac7d7 | 20 | LL | Foo(Baz) |
94222f64 | 21 | | ~~~ |
8faf50e0 XL |
22 | |
23 | error: aborting due to 2 previous errors | |
24 | ||
25 | For more information about this error, try `rustc --explain E0412`. |