]>
Commit | Line | Data |
---|---|---|
8bb4bdeb | 1 | error[E0277]: the trait bound `i8: Foo<i32>` is not satisfied |
e1599b0c | 2 | --> $DIR/issue-39802-show-5-trait-impls.rs:24:21 |
8bb4bdeb | 3 | | |
532ac7d7 | 4 | LL | Foo::<i32>::bar(&1i8); |
c295e0f8 XL |
5 | | --------------- ^^^^ the trait `Foo<i32>` is not implemented for `i8` |
6 | | | | |
7 | | required by a bound introduced by this call | |
8bb4bdeb XL |
8 | | |
9 | = help: the following implementations were found: | |
b7449926 | 10 | <i8 as Foo<bool>> |
8bb4bdeb XL |
11 | <i8 as Foo<u16>> |
12 | <i8 as Foo<u32>> | |
13 | <i8 as Foo<u64>> | |
5099ac24 | 14 | and 5 others |
8bb4bdeb XL |
15 | |
16 | error[E0277]: the trait bound `u8: Foo<i32>` is not satisfied | |
e1599b0c | 17 | --> $DIR/issue-39802-show-5-trait-impls.rs:25:21 |
8bb4bdeb | 18 | | |
532ac7d7 | 19 | LL | Foo::<i32>::bar(&1u8); |
c295e0f8 XL |
20 | | --------------- ^^^^ the trait `Foo<i32>` is not implemented for `u8` |
21 | | | | |
22 | | required by a bound introduced by this call | |
8bb4bdeb XL |
23 | | |
24 | = help: the following implementations were found: | |
b7449926 | 25 | <u8 as Foo<bool>> |
8bb4bdeb XL |
26 | <u8 as Foo<u16>> |
27 | <u8 as Foo<u32>> | |
28 | <u8 as Foo<u64>> | |
5099ac24 | 29 | and 5 others |
8bb4bdeb XL |
30 | |
31 | error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied | |
e1599b0c | 32 | --> $DIR/issue-39802-show-5-trait-impls.rs:26:21 |
8bb4bdeb | 33 | | |
532ac7d7 | 34 | LL | Foo::<i32>::bar(&true); |
c295e0f8 XL |
35 | | --------------- ^^^^^ the trait `Foo<i32>` is not implemented for `bool` |
36 | | | | |
37 | | required by a bound introduced by this call | |
8bb4bdeb XL |
38 | | |
39 | = help: the following implementations were found: | |
9fa01778 XL |
40 | <bool as Foo<bool>> |
41 | <bool as Foo<i8>> | |
8bb4bdeb XL |
42 | <bool as Foo<u16>> |
43 | <bool as Foo<u32>> | |
8bb4bdeb | 44 | and 2 others |
8bb4bdeb | 45 | |
041b39d2 | 46 | error: aborting due to 3 previous errors |
8bb4bdeb | 47 | |
0531ce1d | 48 | For more information about this error, try `rustc --explain E0277`. |