bless-i686.diff

· rfc1149's pastes · raw

expires: 2026-03-19

 1diff --git a/tests/ui/cast_size.r32bit.stderr b/tests/ui/cast_size.r32bit.stderr
 2index 5de19f5775..2f7eeda385 100644
 3--- a/tests/ui/cast_size.r32bit.stderr
 4+++ b/tests/ui/cast_size.r32bit.stderr
 5@@ -28,13 +28,13 @@
 6 LL |     x1 as f32;
 7    |     ^^^^^^^^^
 8 
 9-error: casting `isize` to `f64` may cause a loss of precision on targets with 64-bit wide pointers (`isize` is 64 bits wide, but `f64`'s mantissa is only 52 bits wide)
10+error: casting `isize` to `f64` may cause a loss of precision (`isize` can be up to 64 bits wide depending on the target architecture, but `f64`'s mantissa is only 52 bits wide)
11   --> tests/ui/cast_size.rs:28:5
12    |
13 LL |     x0 as f64;
14    |     ^^^^^^^^^
15 
16-error: casting `usize` to `f64` may cause a loss of precision on targets with 64-bit wide pointers (`usize` is 64 bits wide, but `f64`'s mantissa is only 52 bits wide)
17+error: casting `usize` to `f64` may cause a loss of precision (`usize` can be up to 64 bits wide depending on the target architecture, but `f64`'s mantissa is only 52 bits wide)
18   --> tests/ui/cast_size.rs:30:5
19    |
20 LL |     x1 as f64;
21@@ -171,7 +171,7 @@
22 LL |     999_999_999 as f32;
23    |     ^^^^^^^^^^^^^^^^^^
24 
25-error: casting `usize` to `f64` may cause a loss of precision on targets with 64-bit wide pointers (`usize` is 64 bits wide, but `f64`'s mantissa is only 52 bits wide)
26+error: casting `usize` to `f64` may cause a loss of precision (`usize` can be up to 64 bits wide depending on the target architecture, but `f64`'s mantissa is only 52 bits wide)
27   --> tests/ui/cast_size.rs:63:5
28    |
29 LL |     9_999_999_999_999_999usize as f64;