rust/tests/ui/issues/issue-2463.rs
2023-01-11 09:32:08 +00:00

26 lines
300 B
Rust

// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
struct Pair { f: isize, g: isize }
pub fn main() {
let x = Pair {
f: 0,
g: 0,
};
let _y = Pair {
f: 1,
g: 1,
.. x
};
let _z = Pair {
f: 1,
.. x
};
}