]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/bind-struct-early-modifiers.rs
Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors
[rust.git] / tests / 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 }