]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/associated-types-no-suitable-supertrait-2.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / associated-types-no-suitable-supertrait-2.rs
index bda16c8a85de15d03c00c2470688bb3cb34b158a..e0f0f3c47ae5ec312ecb2799e65716ca88623b9a 100644 (file)
@@ -25,7 +25,7 @@ trait Get {
 
 trait Other {
     fn uhoh<U:Get>(&self, foo: U, bar: <Self as Get>::Value) {}
-    //~^ ERROR the trait `Get` is not implemented for the type `Self`
+    //~^ ERROR the trait bound `Self: Get` is not satisfied
 }
 
 fn main() { }