mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
19 lines
662 B
Text
19 lines
662 B
Text
error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied
|
|
--> $DIR/issue-21659-show-relevant-trait-impls-2.rs:28:12
|
|
|
|
|
LL | f1.foo(1usize);
|
|
| --- ^^^^^^ the trait `Foo<usize>` is not implemented for `Bar`
|
|
| |
|
|
| required by a bound introduced by this call
|
|
|
|
|
= help: the following other types implement trait `Foo<A>`:
|
|
<Bar as Foo<i8>>
|
|
<Bar as Foo<i16>>
|
|
<Bar as Foo<i32>>
|
|
<Bar as Foo<u8>>
|
|
<Bar as Foo<u16>>
|
|
<Bar as Foo<u32>>
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|