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