fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0423]: expected function, found type alias `A` 2 --> $DIR/tuple-struct-alias.rs:5:13 3 | 4LL | let s = A(0, 1); 5 | ^ help: a tuple struct with a similar name exists: `S` 6 | 7 = note: can't use a type alias as a constructor 8 9error[E0532]: expected tuple struct/variant, found type alias `A` 10 --> $DIR/tuple-struct-alias.rs:7:9 11 | 12LL | A(..) => {} 13 | ^ help: a tuple struct with a similar name exists: `S` 14 | 15 = note: can't use a type alias as a constructor 16 17error: aborting due to 2 previous errors 18 19Some errors have detailed explanations: E0423, E0532. 20For more information about an error, try `rustc --explain E0423`.