]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/object-lifetime-default-elision.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / compile-fail / object-lifetime-default-elision.rs
index 4fba45e2a66c589f61ff74396997e632b30088ae..75ee0bdc9c7aed27de547fc41f3b50fbcb3a10be 100644 (file)
@@ -81,7 +81,7 @@ fn load3<'a,'b>(ss: &'a SomeTrait) -> &'b SomeTrait {
     // which fails to type check.
 
     ss
-        //~^ ERROR lifetime of the source pointer does not outlive lifetime bound
+        //~^ ERROR lifetime bound not satisfied
         //~| ERROR cannot infer
 }