@@ -994,8 +994,8 @@ error[E0308]: mismatched types
994
994
LL | foo::<f64>(x_usize);
995
995
| ^^^^^^^ expected `f64`, found `usize`
996
996
|
997
- help: you can cast a `usize` to an `f64`, producing the floating point representation of the integer,
998
- | rounded if necessary
997
+ help: you can cast a `usize` to an `f64`, producing the floating point representation of the integer, rounded if necessary
998
+ |
999
999
LL | foo::<f64>(x_usize as f64);
1000
1000
| ++++++
1001
1001
@@ -1005,8 +1005,8 @@ error[E0308]: mismatched types
1005
1005
LL | foo::<f64>(x_u64);
1006
1006
| ^^^^^ expected `f64`, found `u64`
1007
1007
|
1008
- help: you can cast a `u64` to an `f64`, producing the floating point representation of the integer,
1009
- | rounded if necessary
1008
+ help: you can cast a `u64` to an `f64`, producing the floating point representation of the integer, rounded if necessary
1009
+ |
1010
1010
LL | foo::<f64>(x_u64 as f64);
1011
1011
| ++++++
1012
1012
@@ -1115,8 +1115,8 @@ error[E0308]: mismatched types
1115
1115
LL | foo::<f32>(x_usize);
1116
1116
| ^^^^^^^ expected `f32`, found `usize`
1117
1117
|
1118
- help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer,
1119
- | rounded if necessary
1118
+ help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary
1119
+ |
1120
1120
LL | foo::<f32>(x_usize as f32);
1121
1121
| ++++++
1122
1122
@@ -1126,8 +1126,8 @@ error[E0308]: mismatched types
1126
1126
LL | foo::<f32>(x_u64);
1127
1127
| ^^^^^ expected `f32`, found `u64`
1128
1128
|
1129
- help: you can cast a `u64` to an `f32`, producing the floating point representation of the integer,
1130
- | rounded if necessary
1129
+ help: you can cast a `u64` to an `f32`, producing the floating point representation of the integer, rounded if necessary
1130
+ |
1131
1131
LL | foo::<f32>(x_u64 as f32);
1132
1132
| ++++++
1133
1133
@@ -1137,8 +1137,8 @@ error[E0308]: mismatched types
1137
1137
LL | foo::<f32>(x_u32);
1138
1138
| ^^^^^ expected `f32`, found `u32`
1139
1139
|
1140
- help: you can cast a `u32` to an `f32`, producing the floating point representation of the integer,
1141
- | rounded if necessary
1140
+ help: you can cast a `u32` to an `f32`, producing the floating point representation of the integer, rounded if necessary
1141
+ |
1142
1142
LL | foo::<f32>(x_u32 as f32);
1143
1143
| ++++++
1144
1144
0 commit comments