]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature.stderr
Rollup merge of #103397 - crlf0710:port_dead_code_lint, r=davidtwco
[rust.git] / src / test / ui / suggestions / lifetimes / missing-lifetimes-in-signature.stderr
index 171f4b333db4e231452fcf7054d297a37ceb92e7..fa758bf05df5a1d747ccfd521e73439e67801e14 100644 (file)
@@ -18,7 +18,7 @@ LL | |         *dest = g.get();
 LL | |     }
    | |_____^
    |
-help: to declare that the `impl Trait` captures `'_`, you can add an explicit `'_` lifetime bound
+help: to declare that `impl FnOnce()` captures `'_`, you can add an explicit `'_` lifetime bound
    |
 LL | fn foo<G, T>(g: G, dest: &mut T) -> impl FnOnce() + '_
    |                                                   ++++