fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied 2 --> $DIR/issue-21659-show-relevant-trait-impls-2.rs:28:12 3 | 4LL | f1.foo(1usize); 5 | --- ^^^^^^ the trait `Foo<usize>` is not implemented for `Bar` 6 | | 7 | required by a bound introduced by this call 8 | 9 = help: the following other types implement trait `Foo<A>`: 10 <Bar as Foo<i8>> 11 <Bar as Foo<i16>> 12 <Bar as Foo<i32>> 13 <Bar as Foo<u8>> 14 <Bar as Foo<u16>> 15 <Bar as Foo<u32>> 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0277`.