]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/multidispatch-bad.stderr
New upstream version 1.56.0~beta.4+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);
60c5eb7d 5 | ^^^^^ expected `u32`, found `i32`
e74abb32 6 |
48663c56
XL
7help: change the type of the numeric literal from `i32` to `u32`
8 |
9LL | test(22i32, 44u32);
94222f64 10 | ~~~~~
b7449926
XL
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0308`.