5 fn foo(d: impl Debug) {
6 //~^ HELP consider adding an explicit lifetime bound...
8 //~^ ERROR the parameter type `impl Debug` may not live long enough
9 //~| NOTE ...so that the type `impl Debug` will meet its required lifetime bounds
12 fn bar(d: impl Debug + 'static) {