]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-types/associated-types-project-from-hrtb-in-fn.stderr
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / ui / associated-types / associated-types-project-from-hrtb-in-fn.stderr
1 error[E0212]: cannot use the associated type of a trait with uninferred generic parameters
2   --> $DIR/associated-types-project-from-hrtb-in-fn.rs:13:8
3    |
4 LL |     x: I::A)
5    |        ^^^^
6    |
7 help: use a fully qualified path with inferred lifetimes
8    |
9 LL |     x: <I as Foo<&isize>>::A)
10    |        ~~~~~~~~~~~~~~~~~~~~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0212`.