fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
535 B16 linesraw
1error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied
2  --> $DIR/issue-21659-show-relevant-trait-impls-2.rs:28:8
3   |
4LL |     f1.foo(1usize);
5   |        ^^^ the trait `Foo<usize>` is not implemented for `Bar`
6   |
7   = help: the following implementations were found:
8             <Bar as Foo<i16>>
9             <Bar as Foo<i32>>
10             <Bar as Foo<i8>>
11             <Bar as Foo<u16>>
12           and 2 others
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0277`.