1 error: used the `ceil` method with a whole number float
2 --> $DIR/unused_rounding.rs:5:13
4 LL | let _ = 1f32.ceil();
5 | ^^^^^^^^^^^ help: remove the `ceil` method call: `1f32`
7 = note: `-D clippy::unused-rounding` implied by `-D warnings`
9 error: used the `floor` method with a whole number float
10 --> $DIR/unused_rounding.rs:6:13
12 LL | let _ = 1.0f64.floor();
13 | ^^^^^^^^^^^^^^ help: remove the `floor` method call: `1.0f64`
15 error: used the `round` method with a whole number float
16 --> $DIR/unused_rounding.rs:7:13
18 LL | let _ = 1.00f32.round();
19 | ^^^^^^^^^^^^^^^ help: remove the `round` method call: `1.00f32`
21 error: aborting due to 3 previous errors