rust/tests/ui/types.stderr
2018-12-28 12:41:12 +01:00

11 lines
304 B
Plaintext

error: casting i32 to i64 may become silently lossy if types change
--> $DIR/types.rs:18:22
|
LL | let c_i64: i64 = c as i64;
| ^^^^^^^^ help: try: `i64::from(c)`
|
= note: `-D clippy::cast-lossless` implied by `-D warnings`
error: aborting due to previous error