Sign in
fuchsia
/
third_party
/
rust
/
15f159addefd8fea7564ba7617c8af78582b7816
/
.
/
src
/
test
/
ui
/
shadowed
/
shadowing-in-the-same-pattern.rs
blob: f5872f9fbcf273b9cf55e9e27feda7671aac90af [
file
] [
log
] [
blame
]
// Test for issue #14581.
fn
f
((
a
,
a
):
(
isize
,
isize
))
{}
//~ ERROR identifier `a` is bound more than once
fn
main
()
{
let
(
a
,
a
)
=
(
1
,
1
);
//~ ERROR identifier `a` is bound more than once
}