]> git.lizzy.rs Git - rust.git/blob - tests/ui/on-unimplemented/impl-substs.stderr
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / ui / on-unimplemented / impl-substs.stderr
1 error[E0277]: the trait bound `(i32, i32, i32): Foo<usize>` is not satisfied
2   --> $DIR/impl-substs.rs:13:23
3    |
4 LL |     Foo::<usize>::foo((1i32, 1i32, 1i32));
5    |     ----------------- ^^^^^^^^^^^^^^^^^^ an impl did not match: usize _ _
6    |     |
7    |     required by a bound introduced by this call
8    |
9    = help: the trait `Foo<usize>` is not implemented for `(i32, i32, i32)`
10    = help: the trait `Foo<A>` is implemented for `(A, B, C)`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.