fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0532]: expected tuple struct or tuple variant, found constant `C` 2 --> $DIR/issue-32086.rs:5:9 3 | 4LL | struct S(u8); 5 | ------------- similarly named tuple struct `S` defined here 6... 7LL | let C(a) = S(11); 8 | ^ help: a tuple struct with a similar name exists: `S` 9 10error[E0532]: expected tuple struct or tuple variant, found constant `C` 11 --> $DIR/issue-32086.rs:6:9 12 | 13LL | struct S(u8); 14 | ------------- similarly named tuple struct `S` defined here 15... 16LL | let C(..) = S(11); 17 | ^ help: a tuple struct with a similar name exists: `S` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0532`.