error[E0277]: the trait bound `Bar: Foo` is not satisfied --> $DIR/issue-21659-show-relevant-trait-impls-2.rs:28:12 | LL | f1.foo(1usize); | --- ^^^^^^ the trait `Foo` is not implemented for `Bar` | | | required by a bound introduced by this call | = help: the following other types implement trait `Foo`: > > > > > > error: aborting due to previous error For more information about this error, try `rustc --explain E0277`.