]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/multidispatch-bad.stderr
Rollup merge of #82179 - mbartlett21:patch-5, r=joshtriplett
[rust.git] / src / test / ui / traits / multidispatch-bad.stderr
1 error[E0308]: mismatched types
2   --> $DIR/multidispatch-bad.rs:19:17
3    |
4 LL |     test(22i32, 44i32);
5    |                 ^^^^^ expected `u32`, found `i32`
6    |
7 help: change the type of the numeric literal from `i32` to `u32`
8    |
9 LL |     test(22i32, 44u32);
10    |                 ^^^^^
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.