]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/suggest-impl-trait-lifetime.nll.stderr
Rollup merge of #65276 - varkor:toolstate-no-ping, r=Mark-Simulacrum
[rust.git] / src / test / ui / suggestions / suggest-impl-trait-lifetime.nll.stderr
1 error[E0310]: the parameter type `impl Debug` may not live long enough
2   --> $DIR/suggest-impl-trait-lifetime.rs:7:5
3    |
4 LL |     bar(d);
5    |     ^^^^^^
6    |
7    = help: consider adding an explicit lifetime bound `impl Debug: 'static`...
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0310`.