]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-25076.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-25076.rs
index 40f3b72849612daef711869ec38ed0661fcb07ba..1c255b4e6314a0b51d9ed5d5cbb0584eb544a8f0 100644 (file)
@@ -17,5 +17,5 @@ fn do_fold<B, F: InOut<B, Out=B>>(init: B, f: F) {}
 fn bot<T>() -> T { loop {} }
 
 fn main() {
-    do_fold(bot(), ()); //~ ERROR is not implemented for the type `()`
+    do_fold(bot(), ()); //~ ERROR `(): InOut<_>` is not satisfied
 }