summary refs log tree commit diff
path: root/src/test/ui/issues/issue-72574-2.rs
blob: 0c8f6fcc5088909d3abaac72068f942d23597ef9 (plain)
1
2
3
4
5
6
7
8
9
10
struct Binder(i32, i32, i32);

fn main() {
    let x = Binder(1, 2, 3);
    match x {
        Binder(_a, _x @ ..) => {}
        _ => {}
    }
}
//~^^^^ ERROR `_x @` is not allowed in a tuple struct