Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
shadowed
/
shadowing-in-the-same-pattern.rs
blob: f5872f9fbcf273b9cf55e9e27feda7671aac90af [
file
] [
log
] [
blame
] [
edit
]
// 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
}