]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/regions/regions-outlives-projection-container-wc.migrate.nll.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / regions / regions-outlives-projection-container-wc.migrate.nll.stderr
index 8c54d8da0a06395ec758611beed2908be37d665f..7035144302479f4a0578aa074b6d1d4607f78bca 100644 (file)
@@ -8,6 +8,8 @@ LL | fn with_assoc<'a,'b>() {
 ...
 LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
+   |
+   = help: consider adding the following bound: `'b: 'a`
 
 error: aborting due to previous error