error[E0277]: the trait bound `i8: Foo` is not satisfied --> $DIR/issue-39802-show-5-trait-impls.rs:24:21 | LL | fn bar(&self){} | ------------- required by `Foo::bar` ... LL | Foo::::bar(&1i8); | ^^^^ the trait `Foo` is not implemented for `i8` | = help: the following implementations were found: > > > > > error[E0277]: the trait bound `u8: Foo` is not satisfied --> $DIR/issue-39802-show-5-trait-impls.rs:25:21 | LL | fn bar(&self){} | ------------- required by `Foo::bar` ... LL | Foo::::bar(&1u8); | ^^^^ the trait `Foo` is not implemented for `u8` | = help: the following implementations were found: > > > > error[E0277]: the trait bound `bool: Foo` is not satisfied --> $DIR/issue-39802-show-5-trait-impls.rs:26:21 | LL | fn bar(&self){} | ------------- required by `Foo::bar` ... LL | Foo::::bar(&true); | ^^^^^ the trait `Foo` is not implemented for `bool` | = help: the following implementations were found: > > > > and 2 others error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0277`.