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 = help: the following implementations were found:
13 note: required by `Foo::bar`
14 --> $DIR/issue-39802-show-5-trait-impls.rs:2:5
19 error[E0277]: the trait bound `u8: Foo<i32>` is not satisfied
20 --> $DIR/issue-39802-show-5-trait-impls.rs:25:21
22 LL | Foo::<i32>::bar(&1u8);
23 | ^^^^ the trait `Foo<i32>` is not implemented for `u8`
25 = help: the following implementations were found:
30 note: required by `Foo::bar`
31 --> $DIR/issue-39802-show-5-trait-impls.rs:2:5
36 error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied
37 --> $DIR/issue-39802-show-5-trait-impls.rs:26:21
39 LL | Foo::<i32>::bar(&true);
40 | ^^^^^ the trait `Foo<i32>` is not implemented for `bool`
42 = help: the following implementations were found:
48 note: required by `Foo::bar`
49 --> $DIR/issue-39802-show-5-trait-impls.rs:2:5
54 error: aborting due to 3 previous errors
56 For more information about this error, try `rustc --explain E0277`.