mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
15 lines
212 B
Rust
15 lines
212 B
Rust
//@ run-pass
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
mod m {
|
|
pub struct S {
|
|
pub x: isize,
|
|
pub y: isize
|
|
}
|
|
}
|
|
|
|
pub fn main() {
|
|
let x = m::S { x: 1, y: 2 };
|
|
let m::S { x: _a, y: _b } = x;
|
|
}
|