1 error: expected trait bound, found `impl Trait` type
2 --> $DIR/issue-102182-impl-trait-recover.rs:1:11
4 LL | fn foo<T: impl Trait>() {}
5 | ^^^^^^^^^^ not a trait
7 help: use the trait bounds directly
9 LL - fn foo<T: impl Trait>() {}
10 LL + fn foo<T: Trait>() {}
13 error: aborting due to previous error