]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-1448-2.stderr
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / ui / issues / issue-1448-2.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-1448-2.rs:6:24
3    |
4 LL |     println!("{}", foo(10i32));
5    |                        ^^^^^ expected `u32`, found `i32`
6    |
7 help: change the type of the numeric literal from `i32` to `u32`
8    |
9 LL |     println!("{}", foo(10u32));
10    |                        ^^^^^
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.