You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui-toml/float_cmp/test.change_detect.stderr
+21-21
Original file line number
Diff line number
Diff line change
@@ -167,127 +167,127 @@ LL | let _ = C[1] == x;
167
167
| ^^^^^^^^^ help: consider comparing them within some margin of error: `(C[1] - x).abs() < error_margin`
168
168
169
169
error: strict comparison of `f32` or `f64`
170
-
--> tests/ui-toml/float_cmp/test.rs:262:21
170
+
--> tests/ui-toml/float_cmp/test.rs:268:21
171
171
|
172
172
LL | let _ = x == x + 1.0;
173
173
| ^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x - (x + 1.0)).abs() < error_margin`
174
174
175
175
error: strict comparison of `f32` or `f64`
176
-
--> tests/ui-toml/float_cmp/test.rs:263:21
176
+
--> tests/ui-toml/float_cmp/test.rs:269:21
177
177
|
178
178
LL | let _ = x + 1.0 == x;
179
179
| ^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x + 1.0 - x).abs() < error_margin`
180
180
181
181
error: strict comparison of `f32` or `f64`
182
-
--> tests/ui-toml/float_cmp/test.rs:264:21
182
+
--> tests/ui-toml/float_cmp/test.rs:270:21
183
183
|
184
184
LL | let _ = -x == -x + 1.0;
185
185
| ^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(-x - (-x + 1.0)).abs() < error_margin`
186
186
187
187
error: strict comparison of `f32` or `f64`
188
-
--> tests/ui-toml/float_cmp/test.rs:265:21
188
+
--> tests/ui-toml/float_cmp/test.rs:271:21
189
189
|
190
190
LL | let _ = -x + 1.0 == -x;
191
191
| ^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(-x + 1.0 - -x).abs() < error_margin`
192
192
193
193
error: strict comparison of `f32` or `f64`
194
-
--> tests/ui-toml/float_cmp/test.rs:266:21
194
+
--> tests/ui-toml/float_cmp/test.rs:272:21
195
195
|
196
196
LL | let _ = x == f1(x);
197
197
| ^^^^^^^^^^ help: consider comparing them within some margin of error: `(x - f1(x)).abs() < error_margin`
198
198
199
199
error: strict comparison of `f32` or `f64`
200
-
--> tests/ui-toml/float_cmp/test.rs:267:21
200
+
--> tests/ui-toml/float_cmp/test.rs:273:21
201
201
|
202
202
LL | let _ = f1(x) == x;
203
203
| ^^^^^^^^^^ help: consider comparing them within some margin of error: `(f1(x) - x).abs() < error_margin`
204
204
205
205
error: strict comparison of `f32` or `f64`
206
-
--> tests/ui-toml/float_cmp/test.rs:268:21
206
+
--> tests/ui-toml/float_cmp/test.rs:274:21
207
207
|
208
208
LL | let _ = x == f2(x, y);
209
209
| ^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x - f2(x, y)).abs() < error_margin`
210
210
211
211
error: strict comparison of `f32` or `f64`
212
-
--> tests/ui-toml/float_cmp/test.rs:269:21
212
+
--> tests/ui-toml/float_cmp/test.rs:275:21
213
213
|
214
214
LL | let _ = f2(x, y) == x;
215
215
| ^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(f2(x, y) - x).abs() < error_margin`
216
216
217
217
error: strict comparison of `f32` or `f64`
218
-
--> tests/ui-toml/float_cmp/test.rs:270:21
218
+
--> tests/ui-toml/float_cmp/test.rs:276:21
219
219
|
220
220
LL | let _ = f1(f1(x)) == f1(x);
221
221
| ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(f1(f1(x)) - f1(x)).abs() < error_margin`
222
222
223
223
error: strict comparison of `f32` or `f64`
224
-
--> tests/ui-toml/float_cmp/test.rs:271:21
224
+
--> tests/ui-toml/float_cmp/test.rs:277:21
225
225
|
226
226
LL | let _ = f1(x) == f1(f1(x));
227
227
| ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(f1(x) - f1(f1(x))).abs() < error_margin`
228
228
229
229
error: strict comparison of `f32` or `f64`
230
-
--> tests/ui-toml/float_cmp/test.rs:274:21
230
+
--> tests/ui-toml/float_cmp/test.rs:280:21
231
231
|
232
232
LL | let _ = z.0 == z.0 + 1.0;
233
233
| ^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(z.0 - (z.0 + 1.0)).abs() < error_margin`
234
234
235
235
error: strict comparison of `f32` or `f64`
236
-
--> tests/ui-toml/float_cmp/test.rs:275:21
236
+
--> tests/ui-toml/float_cmp/test.rs:281:21
237
237
|
238
238
LL | let _ = z.0 + 1.0 == z.0;
239
239
| ^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(z.0 + 1.0 - z.0).abs() < error_margin`
240
240
241
241
error: strict comparison of `f32` or `f64`
242
-
--> tests/ui-toml/float_cmp/test.rs:279:21
242
+
--> tests/ui-toml/float_cmp/test.rs:285:21
243
243
|
244
244
LL | let _ = *x + 1.0 == *x;
245
245
| ^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(*x + 1.0 - *x).abs() < error_margin`
246
246
247
247
error: strict comparison of `f32` or `f64`
248
-
--> tests/ui-toml/float_cmp/test.rs:280:21
248
+
--> tests/ui-toml/float_cmp/test.rs:286:21
249
249
|
250
250
LL | let _ = *x == *x + 1.0;
251
251
| ^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(*x - (*x + 1.0)).abs() < error_margin`
252
252
253
253
error: strict comparison of `f32` or `f64`
254
-
--> tests/ui-toml/float_cmp/test.rs:281:21
254
+
--> tests/ui-toml/float_cmp/test.rs:287:21
255
255
|
256
256
LL | let _ = *x == f1(*x);
257
257
| ^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(*x - f1(*x)).abs() < error_margin`
258
258
259
259
error: strict comparison of `f32` or `f64`
260
-
--> tests/ui-toml/float_cmp/test.rs:282:21
260
+
--> tests/ui-toml/float_cmp/test.rs:288:21
261
261
|
262
262
LL | let _ = f1(*x) == *x;
263
263
| ^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(f1(*x) - *x).abs() < error_margin`
264
264
265
265
error: strict comparison of `f32` or `f64`
266
-
--> tests/ui-toml/float_cmp/test.rs:287:21
266
+
--> tests/ui-toml/float_cmp/test.rs:293:21
267
267
|
268
268
LL | let _ = x.next().unwrap() == x.next().unwrap() + 1.0;
269
269
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.next().unwrap() - (x.next().unwrap() + 1.0)).abs() < error_margin`
270
270
271
271
error: strict comparison of `f32` or `f64`
272
-
--> tests/ui-toml/float_cmp/test.rs:303:21
272
+
--> tests/ui-toml/float_cmp/test.rs:309:21
273
273
|
274
274
LL | let _ = x.f() + 1.0 == x.f();
275
275
| ^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.f() + 1.0 - x.f()).abs() < error_margin`
276
276
277
277
error: strict comparison of `f32` or `f64`
278
-
--> tests/ui-toml/float_cmp/test.rs:304:21
278
+
--> tests/ui-toml/float_cmp/test.rs:310:21
279
279
|
280
280
LL | let _ = x.f() == x.f() + 1.0;
281
281
| ^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.f() - (x.f() + 1.0)).abs() < error_margin`
282
282
283
283
error: strict comparison of `f32` or `f64`
284
-
--> tests/ui-toml/float_cmp/test.rs:309:17
284
+
--> tests/ui-toml/float_cmp/test.rs:315:17
285
285
|
286
286
LL | let _ = f(1.0) == f(1.0) + 1.0;
287
287
| ^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(f(1.0) - (f(1.0) + 1.0)).abs() < error_margin`
288
288
289
289
error: strict comparison of `f32` or `f64`
290
-
--> tests/ui-toml/float_cmp/test.rs:313:17
290
+
--> tests/ui-toml/float_cmp/test.rs:319:17
291
291
|
292
292
LL | let _ = f(1.0) == f(1.0) + 1.0;
293
293
| ^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(f(1.0) - (f(1.0) + 1.0)).abs() < error_margin`
Copy file name to clipboardExpand all lines: tests/ui-toml/float_cmp/test.const_cmp.stderr
+4-4
Original file line number
Diff line number
Diff line change
@@ -185,25 +185,25 @@ LL | let _ = C[1] == x;
185
185
| ^^^^^^^^^ help: consider comparing them within some margin of error: `(C[1] - x).abs() < error_margin`
186
186
187
187
error: strict comparison of `f32` or `f64`
188
-
--> tests/ui-toml/float_cmp/test.rs:287:21
188
+
--> tests/ui-toml/float_cmp/test.rs:293:21
189
189
|
190
190
LL | let _ = x.next().unwrap() == x.next().unwrap() + 1.0;
191
191
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.next().unwrap() - (x.next().unwrap() + 1.0)).abs() < error_margin`
192
192
193
193
error: strict comparison of `f32` or `f64`
194
-
--> tests/ui-toml/float_cmp/test.rs:303:21
194
+
--> tests/ui-toml/float_cmp/test.rs:309:21
195
195
|
196
196
LL | let _ = x.f() + 1.0 == x.f();
197
197
| ^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.f() + 1.0 - x.f()).abs() < error_margin`
198
198
199
199
error: strict comparison of `f32` or `f64`
200
-
--> tests/ui-toml/float_cmp/test.rs:304:21
200
+
--> tests/ui-toml/float_cmp/test.rs:310:21
201
201
|
202
202
LL | let _ = x.f() == x.f() + 1.0;
203
203
| ^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.f() - (x.f() + 1.0)).abs() < error_margin`
204
204
205
205
error: strict comparison of `f32` or `f64`
206
-
--> tests/ui-toml/float_cmp/test.rs:313:17
206
+
--> tests/ui-toml/float_cmp/test.rs:319:17
207
207
|
208
208
LL | let _ = f(1.0) == f(1.0) + 1.0;
209
209
| ^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(f(1.0) - (f(1.0) + 1.0)).abs() < error_margin`
Copy file name to clipboardExpand all lines: tests/ui-toml/float_cmp/test.named_const.stderr
+4-4
Original file line number
Diff line number
Diff line change
@@ -227,25 +227,25 @@ LL | let _ = C[1] == x;
227
227
| ^^^^^^^^^ help: consider comparing them within some margin of error: `(C[1] - x).abs() < error_margin`
228
228
229
229
error: strict comparison of `f32` or `f64`
230
-
--> tests/ui-toml/float_cmp/test.rs:287:21
230
+
--> tests/ui-toml/float_cmp/test.rs:293:21
231
231
|
232
232
LL | let _ = x.next().unwrap() == x.next().unwrap() + 1.0;
233
233
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.next().unwrap() - (x.next().unwrap() + 1.0)).abs() < error_margin`
234
234
235
235
error: strict comparison of `f32` or `f64`
236
-
--> tests/ui-toml/float_cmp/test.rs:303:21
236
+
--> tests/ui-toml/float_cmp/test.rs:309:21
237
237
|
238
238
LL | let _ = x.f() + 1.0 == x.f();
239
239
| ^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.f() + 1.0 - x.f()).abs() < error_margin`
240
240
241
241
error: strict comparison of `f32` or `f64`
242
-
--> tests/ui-toml/float_cmp/test.rs:304:21
242
+
--> tests/ui-toml/float_cmp/test.rs:310:21
243
243
|
244
244
LL | let _ = x.f() == x.f() + 1.0;
245
245
| ^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(x.f() - (x.f() + 1.0)).abs() < error_margin`
246
246
247
247
error: strict comparison of `f32` or `f64`
248
-
--> tests/ui-toml/float_cmp/test.rs:313:17
248
+
--> tests/ui-toml/float_cmp/test.rs:319:17
249
249
|
250
250
LL | let _ = f(1.0) == f(1.0) + 1.0;
251
251
| ^^^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(f(1.0) - (f(1.0) + 1.0)).abs() < error_margin`
0 commit comments