summaryrefslogtreecommitdiffstats
path: root/src/test/ui/match/match-unresolved-one-arm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/match/match-unresolved-one-arm.rs')
-rw-r--r--src/test/ui/match/match-unresolved-one-arm.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/match/match-unresolved-one-arm.rs b/src/test/ui/match/match-unresolved-one-arm.rs
deleted file mode 100644
index fa65d87b3..000000000
--- a/src/test/ui/match/match-unresolved-one-arm.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-fn foo<T>() -> T { panic!("Rocks for my pillow") }
-
-fn main() {
- let x = match () { //~ ERROR type annotations needed
- () => foo() // T here should be unresolved
- };
-}