@@ -3,7 +3,7 @@ error[E0308]: mismatched types
3
3
|
4
4
LL | id_i8(a16);
5
5
| ^^^ expected i8, found i16
6
- help: you can convert an `i16` to `i8` or panic if it the converted value wouldn't fit
6
+ help: you can convert an `i16` to `i8` and panic if the converted value wouldn't fit
7
7
|
8
8
LL | id_i8(a16.try_into().unwrap());
9
9
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -13,7 +13,7 @@ error[E0308]: mismatched types
13
13
|
14
14
LL | id_i8(a32);
15
15
| ^^^ expected i8, found i32
16
- help: you can convert an `i32` to `i8` or panic if it the converted value wouldn't fit
16
+ help: you can convert an `i32` to `i8` and panic if the converted value wouldn't fit
17
17
|
18
18
LL | id_i8(a32.try_into().unwrap());
19
19
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -23,7 +23,7 @@ error[E0308]: mismatched types
23
23
|
24
24
LL | id_i8(a64);
25
25
| ^^^ expected i8, found i64
26
- help: you can convert an `i64` to `i8` or panic if it the converted value wouldn't fit
26
+ help: you can convert an `i64` to `i8` and panic if the converted value wouldn't fit
27
27
|
28
28
LL | id_i8(a64.try_into().unwrap());
29
29
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -42,7 +42,7 @@ error[E0308]: mismatched types
42
42
|
43
43
LL | id_i16(a32);
44
44
| ^^^ expected i16, found i32
45
- help: you can convert an `i32` to `i16` or panic if it the converted value wouldn't fit
45
+ help: you can convert an `i32` to `i16` and panic if the converted value wouldn't fit
46
46
|
47
47
LL | id_i16(a32.try_into().unwrap());
48
48
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -52,7 +52,7 @@ error[E0308]: mismatched types
52
52
|
53
53
LL | id_i16(a64);
54
54
| ^^^ expected i16, found i64
55
- help: you can convert an `i64` to `i16` or panic if it the converted value wouldn't fit
55
+ help: you can convert an `i64` to `i16` and panic if the converted value wouldn't fit
56
56
|
57
57
LL | id_i16(a64.try_into().unwrap());
58
58
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -80,7 +80,7 @@ error[E0308]: mismatched types
80
80
|
81
81
LL | id_i32(a64);
82
82
| ^^^ expected i32, found i64
83
- help: you can convert an `i64` to `i32` or panic if it the converted value wouldn't fit
83
+ help: you can convert an `i64` to `i32` and panic if the converted value wouldn't fit
84
84
|
85
85
LL | id_i32(a64.try_into().unwrap());
86
86
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -117,7 +117,7 @@ error[E0308]: mismatched types
117
117
|
118
118
LL | id_i8(c16);
119
119
| ^^^ expected i8, found i16
120
- help: you can convert an `i16` to `i8` or panic if it the converted value wouldn't fit
120
+ help: you can convert an `i16` to `i8` and panic if the converted value wouldn't fit
121
121
|
122
122
LL | id_i8(c16.try_into().unwrap());
123
123
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -127,7 +127,7 @@ error[E0308]: mismatched types
127
127
|
128
128
LL | id_i8(c32);
129
129
| ^^^ expected i8, found i32
130
- help: you can convert an `i32` to `i8` or panic if it the converted value wouldn't fit
130
+ help: you can convert an `i32` to `i8` and panic if the converted value wouldn't fit
131
131
|
132
132
LL | id_i8(c32.try_into().unwrap());
133
133
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -137,7 +137,7 @@ error[E0308]: mismatched types
137
137
|
138
138
LL | id_i8(c64);
139
139
| ^^^ expected i8, found i64
140
- help: you can convert an `i64` to `i8` or panic if it the converted value wouldn't fit
140
+ help: you can convert an `i64` to `i8` and panic if the converted value wouldn't fit
141
141
|
142
142
LL | id_i8(c64.try_into().unwrap());
143
143
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -156,7 +156,7 @@ error[E0308]: mismatched types
156
156
|
157
157
LL | id_i16(c32);
158
158
| ^^^ expected i16, found i32
159
- help: you can convert an `i32` to `i16` or panic if it the converted value wouldn't fit
159
+ help: you can convert an `i32` to `i16` and panic if the converted value wouldn't fit
160
160
|
161
161
LL | id_i16(c32.try_into().unwrap());
162
162
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -166,7 +166,7 @@ error[E0308]: mismatched types
166
166
|
167
167
LL | id_i16(c64);
168
168
| ^^^ expected i16, found i64
169
- help: you can convert an `i64` to `i16` or panic if it the converted value wouldn't fit
169
+ help: you can convert an `i64` to `i16` and panic if the converted value wouldn't fit
170
170
|
171
171
LL | id_i16(c64.try_into().unwrap());
172
172
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -194,7 +194,7 @@ error[E0308]: mismatched types
194
194
|
195
195
LL | id_i32(c64);
196
196
| ^^^ expected i32, found i64
197
- help: you can convert an `i64` to `i32` or panic if it the converted value wouldn't fit
197
+ help: you can convert an `i64` to `i32` and panic if the converted value wouldn't fit
198
198
|
199
199
LL | id_i32(c64.try_into().unwrap());
200
200
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -231,7 +231,7 @@ error[E0308]: mismatched types
231
231
|
232
232
LL | id_u8(b16);
233
233
| ^^^ expected u8, found u16
234
- help: you can convert an `u16` to `u8` or panic if it the converted value wouldn't fit
234
+ help: you can convert an `u16` to `u8` and panic if the converted value wouldn't fit
235
235
|
236
236
LL | id_u8(b16.try_into().unwrap());
237
237
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -241,7 +241,7 @@ error[E0308]: mismatched types
241
241
|
242
242
LL | id_u8(b32);
243
243
| ^^^ expected u8, found u32
244
- help: you can convert an `u32` to `u8` or panic if it the converted value wouldn't fit
244
+ help: you can convert an `u32` to `u8` and panic if the converted value wouldn't fit
245
245
|
246
246
LL | id_u8(b32.try_into().unwrap());
247
247
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -251,7 +251,7 @@ error[E0308]: mismatched types
251
251
|
252
252
LL | id_u8(b64);
253
253
| ^^^ expected u8, found u64
254
- help: you can convert an `u64` to `u8` or panic if it the converted value wouldn't fit
254
+ help: you can convert an `u64` to `u8` and panic if the converted value wouldn't fit
255
255
|
256
256
LL | id_u8(b64.try_into().unwrap());
257
257
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -270,7 +270,7 @@ error[E0308]: mismatched types
270
270
|
271
271
LL | id_u16(b32);
272
272
| ^^^ expected u16, found u32
273
- help: you can convert an `u32` to `u16` or panic if it the converted value wouldn't fit
273
+ help: you can convert an `u32` to `u16` and panic if the converted value wouldn't fit
274
274
|
275
275
LL | id_u16(b32.try_into().unwrap());
276
276
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -280,7 +280,7 @@ error[E0308]: mismatched types
280
280
|
281
281
LL | id_u16(b64);
282
282
| ^^^ expected u16, found u64
283
- help: you can convert an `u64` to `u16` or panic if it the converted value wouldn't fit
283
+ help: you can convert an `u64` to `u16` and panic if the converted value wouldn't fit
284
284
|
285
285
LL | id_u16(b64.try_into().unwrap());
286
286
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -308,7 +308,7 @@ error[E0308]: mismatched types
308
308
|
309
309
LL | id_u32(b64);
310
310
| ^^^ expected u32, found u64
311
- help: you can convert an `u64` to `u32` or panic if it the converted value wouldn't fit
311
+ help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit
312
312
|
313
313
LL | id_u32(b64.try_into().unwrap());
314
314
| ^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments