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 implementations were found:
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 implementations were found:
31 error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied
32 --> $DIR/issue-39802-show-5-trait-impls.rs:26:21
34 LL | Foo::<i32>::bar(&true);
35 | --------------- ^^^^^ the trait `Foo<i32>` is not implemented for `bool`
37 | required by a bound introduced by this call
39 = help: the following implementations were found:
46 error: aborting due to 3 previous errors
48 For more information about this error, try `rustc --explain E0277`.