diff options
Diffstat (limited to 'src/test/ui/pattern/usefulness/issue-4321.rs')
-rw-r--r-- | src/test/ui/pattern/usefulness/issue-4321.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/pattern/usefulness/issue-4321.rs b/src/test/ui/pattern/usefulness/issue-4321.rs deleted file mode 100644 index 9715f2eba..000000000 --- a/src/test/ui/pattern/usefulness/issue-4321.rs +++ /dev/null @@ -1,8 +0,0 @@ -fn main() { - let tup = (true, true); - println!("foo {:}", match tup { //~ ERROR non-exhaustive patterns: `(true, false)` not covered - (false, false) => "foo", - (false, true) => "bar", - (true, true) => "baz" - }); -} |