]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-naked-record.rs
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / 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 }