1 error[E0212]: cannot use the associated type of a trait with uninferred generic parameters
2 --> $DIR/associated-types-project-from-hrtb-in-struct.rs:11:12
7 help: use a fully qualified path with explicit lifetimes
9 LL | struct SomeStruct<'a, I: for<'x> Foo<&'x isize>> {
10 LL | field: <I as Foo<&'a isize>>::A
13 error[E0212]: cannot use the associated type of a trait with uninferred generic parameters
14 --> $DIR/associated-types-project-from-hrtb-in-struct.rs:16:18
16 LL | TupleVariant(I::A),
19 help: use a fully qualified path with explicit lifetimes
21 LL | enum SomeEnum<'c, 'b, I: for<'a> Foo<&'a isize>> {
22 LL | TupleVariant(<I as Foo<&'c isize>>::A),
25 error[E0212]: cannot use the associated type of a trait with uninferred generic parameters
26 --> $DIR/associated-types-project-from-hrtb-in-struct.rs:18:28
28 LL | StructVariant { field: I::A },
31 help: use a fully qualified path with explicit lifetimes
33 LL | enum SomeEnum<'c, 'b, I: for<'a> Foo<&'a isize>> {
34 LL | TupleVariant(I::A),
36 LL | StructVariant { field: <I as Foo<&'c isize>>::A },
39 error[E0212]: cannot use the associated type of a trait with uninferred generic parameters
40 --> $DIR/associated-types-project-from-hrtb-in-struct.rs:35:12
45 help: use a fully qualified path with explicit lifetimes
47 LL | struct Why<'bb, 'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'n, 'o, 'p, 'q, 'r, 's, 't, 'u, 'v, 'w, 'x,
48 LL | 'y, 'z, 'aa, I: for<'l, 'm> Foo<&'l &'m isize>> {
49 LL | field: <I as Foo<&'bb &'bb isize>>::A,
52 error: aborting due to 4 previous errors
54 For more information about this error, try `rustc --explain E0212`.