]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-10291.nll.stderr
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[rust.git] / src / test / ui / issues / issue-10291.nll.stderr
index 1ebb0c6cf1e7b106ff35d004ca6a8bd1ddaf391c..a7b827d27a87bb8d22249b67322db3f485074c6f 100644 (file)
@@ -6,8 +6,6 @@ LL | fn test<'x>(x: &'x isize) {
 LL |     drop::<Box<dyn for<'z> FnMut(&'z isize) -> &'z isize>>(Box::new(|z| {
 LL |         x
    |         ^ returning this value requires that `'x` must outlive `'static`
-   |
-   = help: consider replacing `'x` with `'static`
 
 error: aborting due to previous error