1 error: casting to the same type is unnecessary (`i32` -> `i32`)
2 --> $DIR/unnecessary_cast.rs:6:5
5 | ^^^^^^^^^^^ help: try: `1i32`
7 = note: `-D clippy::unnecessary-cast` implied by `-D warnings`
9 error: casting to the same type is unnecessary (`f32` -> `f32`)
10 --> $DIR/unnecessary_cast.rs:7:5
13 | ^^^^^^^^^^^ help: try: `1f32`
15 error: casting to the same type is unnecessary (`bool` -> `bool`)
16 --> $DIR/unnecessary_cast.rs:8:5
19 | ^^^^^^^^^^^^^ help: try: `false`
21 error: aborting due to 3 previous errors