]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-52213.nll.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-52213.nll.stderr
index eba875de2152b2926478aa96b4fa50d1adf3bff1..359f91309d4f3dc52743f1ef1621114f632158ee 100644 (file)
@@ -8,6 +8,8 @@ LL | fn transmute_lifetime<'a, 'b, T>(t: &'a (T,)) -> &'b T {
 LL |     match (&t,) {
 LL |         ((u,),) => u,
    |                    ^ returning this value requires that `'a` must outlive `'b`
+   |
+   = help: consider adding the following bound: `'a: 'b`
 
 error: aborting due to previous error