Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
structs-enums
/
module-qualified-struct-destructure.rs
blob: b90acb1b98c0dfeef64fdc56de72a0652b56ded9 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
;
}