]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/hrtb-just-for-static.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / hrtb-just-for-static.rs
index a1ec4a739e8cea03dbd55880b2eaf33d46eef86e..aec950f992cf4c160dc98536c2706f3320d4180e 100644 (file)
@@ -31,7 +31,7 @@ fn give_any() {
 struct StaticInt;
 impl Foo<&'static isize> for StaticInt { }
 fn give_static() {
-    want_hrtb::<StaticInt>() //~ ERROR `for<'a> Foo<&'a isize>` is not implemented
+    want_hrtb::<StaticInt>() //~ ERROR `for<'a> StaticInt: Foo<&'a isize>` is not satisfied
 }
 
 fn main() { }