]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/suggest-impl-trait-lifetime.fixed
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / suggestions / suggest-impl-trait-lifetime.fixed
index 65aab97d3d71612521a0531aa481d289e07f2615..589ee1a474ad6e2f5bf4e834c6ceeac4d54989d8 100644 (file)
@@ -9,7 +9,7 @@ fn foo(d: impl Debug + 'static) {
 //~| NOTE ...so that the type `impl Debug` will meet its required lifetime bounds
 }
 
-fn bar(d: impl Debug + 'static) { //~ NOTE ...that is required by this bound
+fn bar(d: impl Debug + 'static) {
     println!("{:?}", d)
 }