Sign in
rust
/
rust
/
refs/heads/stable
/
.
/
src
/
tools
/
rustfmt
/
tests
/
target
/
issue-4926
/
minimum_example.rs
blob: 06e18427465c9070c9eb200dfb0cfb621cac6dfb [
file
] [
log
] [
blame
] [
edit
]
// rustfmt-struct_field_align_threshold: 30
struct
X
{
a
:
i32
,
b
:
i32
,
}
fn
test
(
x
:
X
)
{
let
y
=
matches
!(
x
,
X
{
a
:
1
,
..
});
}