Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
pattern
/
pat-shadow-in-nested-binding.rs
blob: 7badbb6b95c50298718b956781866ec91bc6c383 [
file
] [
log
] [
blame
]
#[
allow
(
non_camel_case_types
)]
struct
foo
(
usize
);
fn
main
()
{
let
(
foo
,
_
)
=
(
2
,
3
);
//~ ERROR let bindings cannot shadow tuple structs
}