1 error[E0071]: expected struct, variant or union type, found associated type
2 --> $DIR/struct-path-associated-type.rs:12:13
7 error[E0107]: this associated type takes 0 generic arguments but 1 generic argument was supplied
8 --> $DIR/struct-path-associated-type.rs:14:16
10 LL | let z = T::A::<u8> {};
11 | ^------ help: remove these generics
13 | expected 0 generic arguments
15 note: associated type defined here, with 0 generic parameters
16 --> $DIR/struct-path-associated-type.rs:4:10
21 error[E0071]: expected struct, variant or union type, found associated type
22 --> $DIR/struct-path-associated-type.rs:14:13
24 LL | let z = T::A::<u8> {};
27 error[E0071]: expected struct, variant or union type, found associated type
28 --> $DIR/struct-path-associated-type.rs:18:9
33 error[E0107]: this associated type takes 0 generic arguments but 1 generic argument was supplied
34 --> $DIR/struct-path-associated-type.rs:25:16
36 LL | let z = T::A::<u8> {};
37 | ^------ help: remove these generics
39 | expected 0 generic arguments
41 note: associated type defined here, with 0 generic parameters
42 --> $DIR/struct-path-associated-type.rs:4:10
47 error[E0223]: ambiguous associated type
48 --> $DIR/struct-path-associated-type.rs:32:13
51 | ^^^^ help: use fully-qualified syntax: `<S as Trait>::A`
53 error[E0223]: ambiguous associated type
54 --> $DIR/struct-path-associated-type.rs:33:13
56 LL | let z = S::A::<u8> {};
57 | ^^^^ help: use fully-qualified syntax: `<S as Trait>::A`
59 error[E0223]: ambiguous associated type
60 --> $DIR/struct-path-associated-type.rs:35:9
63 | ^^^^ help: use fully-qualified syntax: `<S as Trait>::A`
65 error: aborting due to 8 previous errors
67 Some errors have detailed explanations: E0071, E0107, E0223.
68 For more information about an error, try `rustc --explain E0071`.