1 error[E0071]: expected struct, variant or union type, found type parameter `Self`
2 --> $DIR/struct-path-self.rs:5:17
7 error[E0109]: type arguments are not allowed for this type
8 --> $DIR/struct-path-self.rs:7:24
10 LL | let z = Self::<u8> {};
11 | ^^ type argument not allowed
13 error[E0071]: expected struct, variant or union type, found type parameter `Self`
14 --> $DIR/struct-path-self.rs:7:17
16 LL | let z = Self::<u8> {};
17 | ^^^^^^^^^^ not a struct
19 error[E0071]: expected struct, variant or union type, found type parameter `Self`
20 --> $DIR/struct-path-self.rs:11:13
22 LL | Self { .. } => {}
25 error[E0109]: type arguments are not allowed for this type
26 --> $DIR/struct-path-self.rs:20:24
28 LL | let z = Self::<u8> {};
29 | ^^ type argument not allowed
31 error[E0109]: type arguments are not allowed for this type
32 --> $DIR/struct-path-self.rs:30:24
34 LL | let z = Self::<u8> {};
35 | ^^ type argument not allowed
37 error: aborting due to 6 previous errors
39 Some errors have detailed explanations: E0071, E0109.
40 For more information about an error, try `rustc --explain E0071`.