]> git.proxmox.com Git - rustc.git/blob - src/test/ui/pattern/pat-shadow-in-nested-binding.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / pattern / pat-shadow-in-nested-binding.stderr
1 error[E0530]: let bindings cannot shadow tuple structs
2 --> $DIR/pat-shadow-in-nested-binding.rs:5:10
3 |
4 LL | struct foo(usize);
5 | ------------------ the tuple struct `foo` is defined here
6 ...
7 LL | let (foo, _) = (2, 3);
8 | ^^^ cannot be named the same as a tuple struct
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0530`.