Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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
}