@@ -24,18 +24,6 @@ error: float has excessive precision
2424LL | const BAD32_EDGE: f32 = 1.000_000_9;
2525 | ^^^^^^^^^^^ help: consider changing the type or truncating it to: `1.000_001`
2626
27- error: float has excessive precision
28- --> $DIR/excessive_precision.rs:20:26
29- |
30- LL | const BAD64_1: f64 = 0.123_456_789_012_345_67f64;
31- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `0.123_456_789_012_345_66_f64`
32-
33- error: float has excessive precision
34- --> $DIR/excessive_precision.rs:21:26
35- |
36- LL | const BAD64_2: f64 = 0.123_456_789_012_345_67;
37- | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `0.123_456_789_012_345_66`
38-
3927error: float has excessive precision
4028 --> $DIR/excessive_precision.rs:22:26
4129 |
@@ -66,24 +54,6 @@ error: float has excessive precision
6654LL | let bad32_inf = 1.123_456_789_f32;
6755 | ^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `1.123_456_8_f32`
6856
69- error: float has excessive precision
70- --> $DIR/excessive_precision.rs:40:22
71- |
72- LL | let bad64: f64 = 0.123_456_789_012_345_67;
73- | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `0.123_456_789_012_345_66`
74-
75- error: float has excessive precision
76- --> $DIR/excessive_precision.rs:41:26
77- |
78- LL | let bad64_suf: f64 = 0.123_456_789_012_345_67f64;
79- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `0.123_456_789_012_345_66_f64`
80-
81- error: float has excessive precision
82- --> $DIR/excessive_precision.rs:42:21
83- |
84- LL | let bad64_inf = 0.123_456_789_012_345_67;
85- | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `0.123_456_789_012_345_66`
86-
8757error: float has excessive precision
8858 --> $DIR/excessive_precision.rs:48:36
8959 |
@@ -108,5 +78,5 @@ error: float has excessive precision
10878LL | let bad_bige32: f32 = 1.123_456_788_888E-10;
10979 | ^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `1.123_456_8E-10`
11080
111- error: aborting due to 18 previous errors
81+ error: aborting due to 13 previous errors
11282
0 commit comments