]> git.lizzy.rs Git - rust.git/blob - tests/ui/types.stderr
Merge branch 'master' into rustfmt_tests
[rust.git] / tests / ui / types.stderr
1 error: casting i32 to i64 may become silently lossy if types change
2   --> $DIR/types.rs:18:22
3    |
4 18 |     let c_i64: i64 = c as i64;
5    |                      ^^^^^^^^ help: try: `i64::from(c)`
6    |
7    = note: `-D clippy::cast-lossless` implied by `-D warnings`
8
9 error: aborting due to previous error
10