1 error[E0423]: expected function, found self type `Self`
2 --> $DIR/tuple-struct-alias.rs:16:17
4 LL | let s = Self(0, 1); //~ ERROR expected function
7 = note: can't use `Self` as a constructor, you must use the implemented struct
9 error[E0532]: expected tuple struct/variant, found self type `Self`
10 --> $DIR/tuple-struct-alias.rs:18:13
12 LL | Self(..) => {} //~ ERROR expected tuple struct/variant
13 | ^^^^ not a tuple struct/variant
15 = note: can't use `Self` as a constructor, you must use the implemented struct
17 error[E0423]: expected function, found type alias `A`
18 --> $DIR/tuple-struct-alias.rs:24:13
20 LL | let s = A(0, 1); //~ ERROR expected function
23 = note: can't use a type alias as a constructor
25 error[E0532]: expected tuple struct/variant, found type alias `A`
26 --> $DIR/tuple-struct-alias.rs:26:9
28 LL | A(..) => {} //~ ERROR expected tuple struct/variant
31 = note: can't use a type alias as a constructor
33 error: aborting due to 4 previous errors
35 Some errors occurred: E0423, E0532.
36 For more information about an error, try `rustc --explain E0423`.