1 error[E0530]: let bindings cannot shadow tuple structs
2 --> $DIR/pat-shadow-in-nested-binding.rs:14:10
4 LL | struct foo(usize);
5 | ------------------ the tuple struct `foo` is defined here
7 LL | let (foo, _) = (2, 3); //~ ERROR let bindings cannot shadow tuple structs
8 | ^^^ cannot be named the same as a tuple struct
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0530`.