]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/bind-struct-early-modifiers.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / bind-struct-early-modifiers.rs
1 fn main() {
2     struct Foo { x: isize }
3     match (Foo { x: 10 }) {
4         Foo { ref x: ref x } => {}, //~ ERROR expected `,`
5         _ => {}
6     }
7 }