41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
331 B
Plaintext
15 lines
331 B
Plaintext
error: expected trait bound, found `impl Trait` type
|
|
--> $DIR/issue-102182-impl-trait-recover.rs:1:11
|
|
|
|
|
LL | fn foo<T: impl Trait>() {}
|
|
| ^^^^^^^^^^ not a trait
|
|
|
|
|
help: use the trait bounds directly
|
|
|
|
|
LL - fn foo<T: impl Trait>() {}
|
|
LL + fn foo<T: Trait>() {}
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|