]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-72574-1.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-72574-1.rs
CommitLineData
f9f354fc
XL
1fn main() {
2 let x = (1, 2, 3);
3 match x {
4 (_a, _x @ ..) => {}
5 _ => {}
6 }
7}
8//~^^^^ ERROR `_x @` is not allowed in a tuple
3dfed10e
XL
9//~| ERROR: `..` patterns are not allowed here
10//~| ERROR: mismatched types