1 error[E0310]: the parameter type `impl Debug` may not live long enough
2 --> $DIR/suggest-impl-trait-lifetime.rs:7:5
7 note: ...so that the type `impl Debug` will meet its required lifetime bounds
8 --> $DIR/suggest-impl-trait-lifetime.rs:7:5
12 help: consider adding an explicit lifetime bound `'static` to `impl Debug`...
14 LL | fn foo(d: impl Debug + 'static) {
15 | ^^^^^^^^^^^^^^^^^^^^
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0310`.