]> git.lizzy.rs Git - rust.git/blob - tests/ui/binding/match-naked-record.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / ui / binding / match-naked-record.rs
1 // run-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 struct X { x: isize }
6
7 pub fn main() {
8     let _x = match 0 {
9       _ => X {
10         x: 0
11       }
12     };
13 }