]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-naked-record.rs
Rollup merge of #93663 - sunfishcode:sunfishcode/as-raw-name, r=joshtriplett
[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 }