fork/rust

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

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

master
587 B21 linesraw
1error[E0308]: mismatched types
2  --> $DIR/multidispatch-bad.rs:19:17
3   |
4LL |     test(22i32, 44i32);
5   |     ----        ^^^^^ expected `u32`, found `i32`
6   |     |
7   |     arguments to this function are incorrect
8   |
9note: function defined here
10  --> $DIR/multidispatch-bad.rs:13:4
11   |
12LL | fn test<T,U>(_: T, _: U)
13   |    ^^^^            ----
14help: change the type of the numeric literal from `i32` to `u32`
15   |
16LL |     test(22i32, 44u32);
17   |                   ~~~
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0308`.