]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/types.stderr
Rollup merge of #72591 - sexxi-goose:rename_upvar_list-to-closure_captures, r=matthew...
[rust.git] / src / tools / clippy / 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