Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
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
}