diff options
Diffstat (limited to 'src/test/ui/pattern/pat-shadow-in-nested-binding.rs')
-rw-r--r-- | src/test/ui/pattern/pat-shadow-in-nested-binding.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/pattern/pat-shadow-in-nested-binding.rs b/src/test/ui/pattern/pat-shadow-in-nested-binding.rs deleted file mode 100644 index 7badbb6b9..000000000 --- a/src/test/ui/pattern/pat-shadow-in-nested-binding.rs +++ /dev/null @@ -1,6 +0,0 @@ -#[allow(non_camel_case_types)] -struct foo(usize); - -fn main() { - let (foo, _) = (2, 3); //~ ERROR let bindings cannot shadow tuple structs -} |