1 error[E0423]: expected function, found type alias `A`
2 --> $DIR/tuple-struct-alias.rs:5:13
4 LL | let s = A(0, 1); //~ ERROR expected function
7 = note: can't use a type alias as a constructor
9 error[E0532]: expected tuple struct/variant, found type alias `A`
10 --> $DIR/tuple-struct-alias.rs:7:9
12 LL | A(..) => {} //~ ERROR expected tuple struct/variant
15 = note: can't use a type alias as a constructor
17 error: aborting due to 2 previous errors
19 Some errors occurred: E0423, E0532.
20 For more information about an error, try `rustc --explain E0423`.