]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/bind-struct-early-modifiers.rs
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / parser / bind-struct-early-modifiers.rs
CommitLineData
223e47cc 1fn main() {
1a4d82fc
JJ
2 struct Foo { x: isize }
3 match (Foo { x: 10 }) {
94b46f34 4 Foo { ref x: ref x } => {}, //~ ERROR expected `,`
1a4d82fc 5 _ => {}
223e47cc
LB
6 }
7}