]> git.proxmox.com Git - rustc.git/blob - src/test/ui/pattern/issue-72574-2.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / pattern / issue-72574-2.rs
1 struct Binder(i32, i32, i32);
2
3 fn main() {
4 let x = Binder(1, 2, 3);
5 match x {
6 Binder(_a, _x @ ..) => {}
7 _ => {}
8 }
9 }
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