Sign in
◑
Theme
rust
/
rust
/
32ce99c38ee6a9d4a397e97a9017d69052d63d0f
/
.
/
tests
/
ui
/
pattern
/
pat-shadow-in-nested-binding.rs
blob: 7badbb6b95c50298718b956781866ec91bc6c383 [
file
]
#[
allow
(
non_camel_case_types
)]
struct
foo
(
usize
);
fn
main
()
{
let
(
foo
,
_
)
=
(
2
,
3
);
//~ ERROR let bindings cannot shadow tuple structs
}