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: used the `round` method with a whole number float
22 --> $DIR/unused_rounding.rs:13:13
24 LL | let _ = 3.0_f32.round();
25 | ^^^^^^^^^^^^^^^ help: remove the `round` method call: `3.0_f32`
27 error: used the `round` method with a whole number float
28 --> $DIR/unused_rounding.rs:15:13
30 LL | let _ = 3_3.0_0_f32.round();
31 | ^^^^^^^^^^^^^^^^^^^ help: remove the `round` method call: `3_3.0_0_f32`
33 error: aborting due to 5 previous errors