1 error[E0277]: the trait bound `i8: Foo<i32>` is not satisfied
2 --> $DIR/issue-39802-show-5-trait-impls.rs:24:21
4 LL | Foo::<i32>::bar(&1i8);
5 | --------------- ^^^^ the trait `Foo<i32>` is not implemented for `i8`
7 | required by a bound introduced by this call
9 = help: the following other types implement trait `Foo<B>`:
16 error[E0277]: the trait bound `u8: Foo<i32>` is not satisfied
17 --> $DIR/issue-39802-show-5-trait-impls.rs:25:21
19 LL | Foo::<i32>::bar(&1u8);
20 | --------------- ^^^^ the trait `Foo<i32>` is not implemented for `u8`
22 | required by a bound introduced by this call
24 = help: the following other types implement trait `Foo<B>`:
30 error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied
31 --> $DIR/issue-39802-show-5-trait-impls.rs:26:21
33 LL | Foo::<i32>::bar(&true);
34 | --------------- ^^^^^ the trait `Foo<i32>` is not implemented for `bool`
36 | required by a bound introduced by this call
38 = help: the following other types implement trait `Foo<B>`:
46 error: aborting due to 3 previous errors
48 For more information about this error, try `rustc --explain E0277`.