summaryrefslogtreecommitdiffstats
path: root/src/test/ui/liveness/liveness-missing-ret2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/liveness/liveness-missing-ret2.rs')
-rw-r--r--src/test/ui/liveness/liveness-missing-ret2.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/liveness/liveness-missing-ret2.rs b/src/test/ui/liveness/liveness-missing-ret2.rs
deleted file mode 100644
index a18669f72..000000000
--- a/src/test/ui/liveness/liveness-missing-ret2.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-fn f() -> isize { //~ ERROR mismatched types
- // Make sure typestate doesn't interpret this match expression as
- // the function result
- match true { true => { } _ => {} };
-}
-
-fn main() { }