]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/issue-35075.stderr
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / ui / lint / issue-35075.stderr
1 error[E0412]: cannot find type `Foo` in this scope
2   --> $DIR/issue-35075.rs:2:12
3    |
4 LL |     inner: Foo<T>
5    |            ^^^ not found in this scope
6    |
7 help: there is an enum variant `Baz::Foo`; try using the variant's enum
8    |
9 LL |     inner: Baz
10    |            ~~~
11
12 error[E0412]: cannot find type `Foo` in this scope
13   --> $DIR/issue-35075.rs:6:9
14    |
15 LL |     Foo(Foo<T>)
16    |         ^^^ not found in this scope
17    |
18 help: there is an enum variant `Baz::Foo`; try using the variant's enum
19    |
20 LL |     Foo(Baz)
21    |         ~~~
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0412`.