]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/multidispatch-bad.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / traits / multidispatch-bad.stderr
CommitLineData
b7449926 1error[E0308]: mismatched types
6a06907d 2 --> $DIR/multidispatch-bad.rs:19:17
b7449926 3 |
532ac7d7 4LL | test(22i32, 44i32);
923072b8
FG
5 | ---- ^^^^^ expected `u32`, found `i32`
6 | |
7 | arguments to this function are incorrect
e74abb32 8 |
923072b8
FG
9note: function defined here
10 --> $DIR/multidispatch-bad.rs:13:4
11 |
12LL | fn test<T,U>(_: T, _: U)
13 | ^^^^ ---- ----
48663c56
XL
14help: change the type of the numeric literal from `i32` to `u32`
15 |
16LL | test(22i32, 44u32);
c295e0f8 17 | ~~~
b7449926
XL
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0308`.