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