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