rust/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr

13 lines
384 B
Plaintext
Raw Normal View History

error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied
--> $DIR/issue-21659-show-relevant-trait-impls-1.rs:34:8
|
34 | f1.foo(1usize);
| ^^^ the trait `Foo<usize>` is not implemented for `Bar`
|
= help: the following implementations were found:
<Bar as Foo<i32>>
<Bar as Foo<u8>>
error: aborting due to previous error(s)