]> git.lizzy.rs Git - rust.git/blob - tests/ui/types.stderr
Auto merge of #6336 - giraffate:sync-from-rust, r=flip1995
[rust.git] / tests / ui / types.stderr
1 error: casting `i32` to `i64` may become silently lossy if you later change the type
2   --> $DIR/types.rs:14:22
3    |
4 LL |     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