]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/bind-struct-early-modifiers.rs
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020...
[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 }