]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/hrtb-higher-ranker-supertraits.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / hrtb-higher-ranker-supertraits.rs
index 441ad76b6023ca980430def642c4c8e7ef77372a..4c5add4aceaaf15273f468de48cc5e2731bce19a 100644 (file)
@@ -25,7 +25,7 @@ fn want_foo_for_some_tcx<'x,F>(f: &'x F)
     where F : Foo<'x>
 {
     want_foo_for_some_tcx(f);
-    want_foo_for_any_tcx(f); //~ ERROR not implemented
+    want_foo_for_any_tcx(f); //~ ERROR E0277
 }
 
 fn want_foo_for_any_tcx<F>(f: &F)
@@ -42,7 +42,7 @@ fn want_bar_for_some_ccx<'x,B>(b: &B)
     want_foo_for_any_tcx(b);
 
     want_bar_for_some_ccx(b);
-    want_bar_for_any_ccx(b); //~ ERROR not implemented
+    want_bar_for_any_ccx(b); //~ ERROR E0277
 }
 
 fn want_bar_for_any_ccx<B>(b: &B)