]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/pattern/issue-72574-2.rs
1 struct Binder(i32, i32, i32);
4 let x
= Binder(1, 2, 3);
6 Binder(_a
, _x @
..) => {}
10 //~^^^^ ERROR `_x @` is not allowed in a tuple struct
11 //~| ERROR: `..` patterns are not allowed here
12 //~| ERROR: this pattern has 2 fields, but the corresponding tuple struct has 3 fields