1 error[E0071]: expected struct, variant or union type, found associated type
2 --> $DIR/struct-path-associated-type.rs:12:13
7 error[E0109]: type arguments are not allowed for this type
8 --> $DIR/struct-path-associated-type.rs:14:20
10 LL | let z = T::A::<u8> {};
11 | ^^ type argument not allowed
13 error[E0071]: expected struct, variant or union type, found associated type
14 --> $DIR/struct-path-associated-type.rs:14:13
16 LL | let z = T::A::<u8> {};
19 error[E0071]: expected struct, variant or union type, found associated type
20 --> $DIR/struct-path-associated-type.rs:18:9
25 error[E0109]: type arguments are not allowed for this type
26 --> $DIR/struct-path-associated-type.rs:25:20
28 LL | let z = T::A::<u8> {};
29 | ^^ type argument not allowed
31 error[E0223]: ambiguous associated type
32 --> $DIR/struct-path-associated-type.rs:32:13
35 | ^^^^ help: use fully-qualified syntax: `<S as Trait>::A`
37 error[E0223]: ambiguous associated type
38 --> $DIR/struct-path-associated-type.rs:33:13
40 LL | let z = S::A::<u8> {};
41 | ^^^^ help: use fully-qualified syntax: `<S as Trait>::A`
43 error[E0223]: ambiguous associated type
44 --> $DIR/struct-path-associated-type.rs:35:9
47 | ^^^^ help: use fully-qualified syntax: `<S as Trait>::A`
49 error: aborting due to 8 previous errors
51 Some errors have detailed explanations: E0071, E0109, E0223.
52 For more information about an error, try `rustc --explain E0071`.