rust/tests/ui/issues/issue-2463.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
300 B
Rust
Raw Normal View History

// 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,
};
2013-08-17 15:37:42 +00:00
let _y = Pair {
f: 1,
g: 1,
2012-09-04 20:29:32 +00:00
.. x
};
2013-08-17 15:37:42 +00:00
let _z = Pair {
f: 1,
2012-09-04 20:29:32 +00:00
.. x
};
}