2017-02-14 04:32:05 +00:00
|
|
|
error[E0277]: the trait bound `i8: Foo<i32>` is not satisfied
|
2019-09-16 04:58:20 +00:00
|
|
|
--> $DIR/issue-39802-show-5-trait-impls.rs:24:21
|
2017-02-14 04:32:05 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Foo::<i32>::bar(&1i8);
|
2021-09-07 11:30:53 +00:00
|
|
|
| --------------- ^^^^ the trait `Foo<i32>` is not implemented for `i8`
|
|
|
|
| |
|
|
|
|
| required by a bound introduced by this call
|
2017-02-14 04:32:05 +00:00
|
|
|
|
|
|
|
|
= help: the following implementations were found:
|
2018-08-09 12:37:27 +00:00
|
|
|
<i8 as Foo<bool>>
|
2017-02-14 04:32:05 +00:00
|
|
|
<i8 as Foo<u16>>
|
|
|
|
<i8 as Foo<u32>>
|
|
|
|
<i8 as Foo<u64>>
|
2022-03-26 23:14:47 +00:00
|
|
|
<i8 as Foo<u8>>
|
|
|
|
<u8 as Foo<bool>>
|
|
|
|
<u8 as Foo<u16>>
|
|
|
|
<u8 as Foo<u32>>
|
|
|
|
<u8 as Foo<u64>>
|
2017-02-14 04:32:05 +00:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `u8: Foo<i32>` is not satisfied
|
2019-09-16 04:58:20 +00:00
|
|
|
--> $DIR/issue-39802-show-5-trait-impls.rs:25:21
|
2017-02-14 04:32:05 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Foo::<i32>::bar(&1u8);
|
2021-09-07 11:30:53 +00:00
|
|
|
| --------------- ^^^^ the trait `Foo<i32>` is not implemented for `u8`
|
|
|
|
| |
|
|
|
|
| required by a bound introduced by this call
|
2017-02-14 04:32:05 +00:00
|
|
|
|
|
|
|
|
= help: the following implementations were found:
|
2018-08-09 12:37:27 +00:00
|
|
|
<u8 as Foo<bool>>
|
2017-02-14 04:32:05 +00:00
|
|
|
<u8 as Foo<u16>>
|
|
|
|
<u8 as Foo<u32>>
|
|
|
|
<u8 as Foo<u64>>
|
2022-03-26 23:14:47 +00:00
|
|
|
<i8 as Foo<bool>>
|
|
|
|
<i8 as Foo<u16>>
|
|
|
|
<i8 as Foo<u32>>
|
|
|
|
<i8 as Foo<u64>>
|
|
|
|
<i8 as Foo<u8>>
|
2017-02-14 04:32:05 +00:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied
|
2019-09-16 04:58:20 +00:00
|
|
|
--> $DIR/issue-39802-show-5-trait-impls.rs:26:21
|
2017-02-14 04:32:05 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Foo::<i32>::bar(&true);
|
2021-09-07 11:30:53 +00:00
|
|
|
| --------------- ^^^^^ the trait `Foo<i32>` is not implemented for `bool`
|
|
|
|
| |
|
|
|
|
| required by a bound introduced by this call
|
2017-02-14 04:32:05 +00:00
|
|
|
|
|
|
|
|
= help: the following implementations were found:
|
2019-01-21 15:55:32 +00:00
|
|
|
<bool as Foo<bool>>
|
|
|
|
<bool as Foo<i8>>
|
2017-02-14 04:32:05 +00:00
|
|
|
<bool as Foo<u16>>
|
|
|
|
<bool as Foo<u32>>
|
2022-03-26 23:14:47 +00:00
|
|
|
<bool as Foo<u64>>
|
|
|
|
<bool as Foo<u8>>
|
2017-02-14 04:32:05 +00:00
|
|
|
|
2017-07-02 10:49:30 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2017-02-14 04:32:05 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0277`.
|