@@ -24,18 +24,6 @@ error: float has excessive precision
24
24
LL | const BAD32_EDGE: f32 = 1.000_000_9;
25
25
| ^^^^^^^^^^^ help: consider changing the type or truncating it to: `1.000_001`
26
26
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
-
39
27
error: float has excessive precision
40
28
--> $DIR/excessive_precision.rs:22:26
41
29
|
@@ -66,24 +54,6 @@ error: float has excessive precision
66
54
LL | let bad32_inf = 1.123_456_789_f32;
67
55
| ^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `1.123_456_8_f32`
68
56
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
-
87
57
error: float has excessive precision
88
58
--> $DIR/excessive_precision.rs:48:36
89
59
|
@@ -108,5 +78,5 @@ error: float has excessive precision
108
78
LL | let bad_bige32: f32 = 1.123_456_788_888E-10;
109
79
| ^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type or truncating it to: `1.123_456_8E-10`
110
80
111
- error: aborting due to 18 previous errors
81
+ error: aborting due to 13 previous errors
112
82
0 commit comments