diff options
Diffstat (limited to 'src/test/ui/parser/recover-tuple.rs')
-rw-r--r-- | src/test/ui/parser/recover-tuple.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/parser/recover-tuple.rs b/src/test/ui/parser/recover-tuple.rs deleted file mode 100644 index 59e2695de..000000000 --- a/src/test/ui/parser/recover-tuple.rs +++ /dev/null @@ -1,11 +0,0 @@ -fn main() { - // no complaints about the tuple not matching the expected type - let x: (usize, usize, usize) = (3, .=.); - //~^ ERROR expected expression, found `.` - // verify that the parser recovers: - let y: usize = ""; //~ ERROR mismatched types - // no complaints about the type - foo(x); -} - -fn foo(_: (usize, usize, usize)) {} |