Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
pretty
/
struct-pattern.rs
blob: 6acb2e27f4fa42f7dbe56e277654611f45edd708 [
file
] [
log
] [
blame
]
// pp-exact
// pretty-compare-only
// Testing that shorthand struct patterns are preserved
fn
main
()
{
let
Foo
{
a
,
ref
b
,
mut
c
,
x
:
y
,
z
:
z
}
=
foo
;
}