about summary refs log tree commit diff
path: root/src/test/run-fail
diff options
context:
space:
mode:
authorAlex Burka <durka42@gmail.com>2016-08-21 22:45:25 +0000
committerAlex Burka <durka42@gmail.com>2016-08-23 16:58:49 +0000
commit702ea7169cc20f3e572576e68339edc0b8fc5939 (patch)
tree083d15b4b9930ba795403c0de5970421442e9f12 /src/test/run-fail
parent490189634b656dcca9e41e6b52093569c03bd4df (diff)
downloadrust-702ea7169cc20f3e572576e68339edc0b8fc5939.tar.gz
rust-702ea7169cc20f3e572576e68339edc0b8fc5939.zip
typeck: use NoExpectation to check return type of diverging fn
This fixes #35849, a regression introduced by the typeck refactoring
around TyNever/!.
Diffstat (limited to 'src/test/run-fail')
-rw-r--r--src/test/run-fail/call-fn-never-arg.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-fail/call-fn-never-arg.rs b/src/test/run-fail/call-fn-never-arg.rs
index 95101e70db9..b1aa76cd9bf 100644
--- a/src/test/run-fail/call-fn-never-arg.rs
+++ b/src/test/run-fail/call-fn-never-arg.rs
@@ -10,6 +10,7 @@
 
 // Test that we can use a ! for an argument of type !
 
+// ignore-test FIXME(durka) can't be done with the current liveness code
 // error-pattern:wowzers!
 
 #![feature(never_type)]