fork/rust

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

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

master
634 B15 linesraw
1error[E0277]: the trait bound `(i32, i32, i32): Foo<usize>` is not satisfied
2  --> $DIR/impl-substs.rs:13:23
3   |
4LL |     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<i32>` is implemented for `(i32, i32, i32)`
11   = help: for that trait implementation, expected `i32`, found `usize`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0277`.