]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-naked-record-expr.rs
Rollup merge of #93663 - sunfishcode:sunfishcode/as-raw-name, r=joshtriplett
[rust.git] / src / test / ui / binding / match-naked-record-expr.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 struct X { x: isize }
5
6 pub fn main() {
7     let _x = match 0 {
8       _ => X {
9         x: 0
10       }.x
11     };
12 }