]> git.lizzy.rs Git - rust.git/blob - src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr
Auto merge of #43274 - bitshifter:union-align, r=petrochenkov
[rust.git] / src / test / ui / did_you_mean / issue-21659-show-relevant-trait-impls-1.stderr
1 error[E0277]: the trait bound `Bar: Foo<usize>` is not satisfied
2   --> $DIR/issue-21659-show-relevant-trait-impls-1.rs:34:8
3    |
4 34 |     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<i32>>
9              <Bar as Foo<u8>>
10
11 error: aborting due to previous error
12