]> git.lizzy.rs Git - rust.git/blob - tests/ui/binding/match-naked-record.rs
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[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 }