about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2015-05-07 16:19:43 +0300
committerAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2015-05-07 16:19:43 +0300
commitea3747902cb29338878a1e497b8c28f344c4fc6a (patch)
tree37b8a4bfdf9615e9d211ec85c4fffab0f0d341ae
parentdf42976e4db6565e8693460c34387e515d10ecfd (diff)
downloadrust-ea3747902cb29338878a1e497b8c28f344c4fc6a.tar.gz
rust-ea3747902cb29338878a1e497b8c28f344c4fc6a.zip
fix test
-rw-r--r--src/test/compile-fail/issue-23966.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/compile-fail/issue-23966.rs b/src/test/compile-fail/issue-23966.rs
index 18b51368665..d7f909e4ebc 100644
--- a/src/test/compile-fail/issue-23966.rs
+++ b/src/test/compile-fail/issue-23966.rs
@@ -9,6 +9,5 @@
 // except according to those terms.
 
 fn main() {
-    "".chars().fold(|_, _| (), ());
-    //~^ ERROR cannot determine a type for this expression: unconstrained type
+    "".chars().fold(|_, _| (), ()); //~ ERROR is not implemented for the type `()`
 }