summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/associated-types-project-from-hrtb-in-fn.stderr
blob: c508006c3a49927c7e0957c59df8d232c0c64d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0212]: cannot use the associated type of a trait with uninferred generic parameters
  --> $DIR/associated-types-project-from-hrtb-in-fn.rs:13:8
   |
LL |     x: I::A)
   |        ^^^^
   |
help: use a fully qualified path with inferred lifetimes
   |
LL |     x: <I as Foo<&isize>>::A)
   |        ~~~~~~~~~~~~~~~~~~~~

error: aborting due to previous error

For more information about this error, try `rustc --explain E0212`.