1 error[E0277]: the trait bound `i8: Foo<i32>` is not satisfied
2 --> $DIR/issue-39802-show-5-trait-impls.rs:34:5
4 34 | Foo::<i32>::bar(&1i8);
5 | ^^^^^^^^^^^^^^^ the trait `Foo<i32>` is not implemented for `i8`
7 = help: the following implementations were found:
13 = note: required by `Foo::bar`
15 error[E0277]: the trait bound `u8: Foo<i32>` is not satisfied
16 --> $DIR/issue-39802-show-5-trait-impls.rs:35:5
18 35 | Foo::<i32>::bar(&1u8);
19 | ^^^^^^^^^^^^^^^ the trait `Foo<i32>` is not implemented for `u8`
21 = help: the following implementations were found:
26 = note: required by `Foo::bar`
28 error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied
29 --> $DIR/issue-39802-show-5-trait-impls.rs:36:5
31 36 | Foo::<i32>::bar(&true);
32 | ^^^^^^^^^^^^^^^ the trait `Foo<i32>` is not implemented for `bool`
34 = help: the following implementations were found:
40 = note: required by `Foo::bar`
42 error: aborting due to 3 previous errors