]> git.lizzy.rs Git - rust.git/blob - tests/ui/did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / 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:24:12
3    |
4 LL |     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<i32>>
11              <Bar as Foo<u8>>
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.