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