Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
src
/
test
/
ui
/
issues
/
issue-3847.rs
blob: 16e0b00b39a85403ecfc2fd3bd534d8e72ac6d65 [
file
] [
log
] [
blame
]
// run-pass
mod
buildings
{
pub
struct
Tower
{
pub
height
:
usize
}
}
pub
fn
main
()
{
let
sears
=
buildings
::
Tower
{
height
:
1451
};
let
h
:
usize
=
match
sears
{
buildings
::
Tower
{
height
:
h
}
=>
{
h
}
};
println
!(
"{}"
,
h
);
}