Sign in
fuchsia
/
third_party
/
rust
/
refs/heads/upstream/stable
/
.
/
tests
/
pretty
/
struct-pattern.rs
blob: 31de95e74a37ce2ffd20a8c34d25bb3f6d8aba2f [
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
;
}