fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
660 B19 linesraw
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`.