2017-01-13 13:40:44 -06:00
|
|
|
error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied
|
2022-08-16 20:28:26 -05:00
|
|
|
--> $DIR/issue-21659-show-relevant-trait-impls-2.rs:28:12
|
2017-01-13 13:40:44 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | f1.foo(1usize);
|
2022-08-16 20:28:26 -05:00
|
|
|
| --- ^^^^^^ the trait `Foo<usize>` is not implemented for `Bar`
|
|
|
|
| |
|
|
|
|
| required by a bound introduced by this call
|
2017-01-13 13:40:44 -06:00
|
|
|
|
|
2022-03-26 21:02:07 -05:00
|
|
|
= help: the following other types implement trait `Foo<A>`:
|
2023-06-27 18:31:06 -05:00
|
|
|
<Bar as Foo<i8>>
|
2017-01-13 13:40:44 -06:00
|
|
|
<Bar as Foo<i16>>
|
|
|
|
<Bar as Foo<i32>>
|
2023-06-27 18:31:06 -05:00
|
|
|
<Bar as Foo<u8>>
|
2019-01-21 09:55:32 -06:00
|
|
|
<Bar as Foo<u16>>
|
2022-03-26 18:14:47 -05:00
|
|
|
<Bar as Foo<u32>>
|
2017-01-13 13:40:44 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2017-01-13 13:40:44 -06:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0277`.
|