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>`:
20 error[E0277]: the trait bound `u8: Foo<i32>` is not satisfied
21 --> $DIR/issue-39802-show-5-trait-impls.rs:25:21
23 LL | Foo::<i32>::bar(&1u8);
24 | --------------- ^^^^ the trait `Foo<i32>` is not implemented for `u8`
26 | required by a bound introduced by this call
28 = help: the following other types implement trait `Foo<B>`:
39 error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied
40 --> $DIR/issue-39802-show-5-trait-impls.rs:26:21
42 LL | Foo::<i32>::bar(&true);
43 | --------------- ^^^^^ the trait `Foo<i32>` is not implemented for `bool`
45 | required by a bound introduced by this call
47 = help: the following other types implement trait `Foo<B>`:
55 error: aborting due to 3 previous errors
57 For more information about this error, try `rustc --explain E0277`.