diff options
Diffstat (limited to 'src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple.rs')
-rw-r--r-- | src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple.rs deleted file mode 100644 index 4c22aa2d7..000000000 --- a/src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple.rs +++ /dev/null @@ -1,12 +0,0 @@ -// run-pass -pub fn main() { - let foo = (Some(1), (), (), vec![2, 3]); - - match &foo { - (Some(n), .., v) => { - assert_eq!((*v).len(), 2); - assert_eq!(*n, 1); - } - (None, (), (), ..) => panic!(), - } -} |