]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.rs
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / nll / ty-outlives / projection-two-region-trait-bound-closure.rs
index 25877e6665c4030ca1f7add9178394c784ee473f..20edfb33931aff02b02696181587a8865dd53c9c 100644 (file)
@@ -85,7 +85,7 @@ where
     T: Anything<'b, 'b>,
 {
     with_signature(cell, t, |cell, t| require(cell, t));
-    //~^ ERROR unsatisfied lifetime constraints
+    //~^ ERROR lifetime may not live long enough
 }
 
 #[rustc_regions]