@@ -3,7 +3,7 @@ error[E0308]: mismatched types
33 |
44LL | id_i8(a16);
55 | ^^^ 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
77 |
88LL | id_i8(a16.try_into().unwrap());
99 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -13,7 +13,7 @@ error[E0308]: mismatched types
1313 |
1414LL | id_i8(a32);
1515 | ^^^ 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
1717 |
1818LL | id_i8(a32.try_into().unwrap());
1919 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -23,7 +23,7 @@ error[E0308]: mismatched types
2323 |
2424LL | id_i8(a64);
2525 | ^^^ 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
2727 |
2828LL | id_i8(a64.try_into().unwrap());
2929 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -42,7 +42,7 @@ error[E0308]: mismatched types
4242 |
4343LL | id_i16(a32);
4444 | ^^^ 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
4646 |
4747LL | id_i16(a32.try_into().unwrap());
4848 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -52,7 +52,7 @@ error[E0308]: mismatched types
5252 |
5353LL | id_i16(a64);
5454 | ^^^ 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
5656 |
5757LL | id_i16(a64.try_into().unwrap());
5858 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -80,7 +80,7 @@ error[E0308]: mismatched types
8080 |
8181LL | id_i32(a64);
8282 | ^^^ 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
8484 |
8585LL | id_i32(a64.try_into().unwrap());
8686 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -117,7 +117,7 @@ error[E0308]: mismatched types
117117 |
118118LL | id_i8(c16);
119119 | ^^^ 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
121121 |
122122LL | id_i8(c16.try_into().unwrap());
123123 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -127,7 +127,7 @@ error[E0308]: mismatched types
127127 |
128128LL | id_i8(c32);
129129 | ^^^ 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
131131 |
132132LL | id_i8(c32.try_into().unwrap());
133133 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -137,7 +137,7 @@ error[E0308]: mismatched types
137137 |
138138LL | id_i8(c64);
139139 | ^^^ 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
141141 |
142142LL | id_i8(c64.try_into().unwrap());
143143 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -156,7 +156,7 @@ error[E0308]: mismatched types
156156 |
157157LL | id_i16(c32);
158158 | ^^^ 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
160160 |
161161LL | id_i16(c32.try_into().unwrap());
162162 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -166,7 +166,7 @@ error[E0308]: mismatched types
166166 |
167167LL | id_i16(c64);
168168 | ^^^ 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
170170 |
171171LL | id_i16(c64.try_into().unwrap());
172172 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -194,7 +194,7 @@ error[E0308]: mismatched types
194194 |
195195LL | id_i32(c64);
196196 | ^^^ 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
198198 |
199199LL | id_i32(c64.try_into().unwrap());
200200 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -231,7 +231,7 @@ error[E0308]: mismatched types
231231 |
232232LL | id_u8(b16);
233233 | ^^^ 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
235235 |
236236LL | id_u8(b16.try_into().unwrap());
237237 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -241,7 +241,7 @@ error[E0308]: mismatched types
241241 |
242242LL | id_u8(b32);
243243 | ^^^ 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
245245 |
246246LL | id_u8(b32.try_into().unwrap());
247247 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -251,7 +251,7 @@ error[E0308]: mismatched types
251251 |
252252LL | id_u8(b64);
253253 | ^^^ 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
255255 |
256256LL | id_u8(b64.try_into().unwrap());
257257 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -270,7 +270,7 @@ error[E0308]: mismatched types
270270 |
271271LL | id_u16(b32);
272272 | ^^^ 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
274274 |
275275LL | id_u16(b32.try_into().unwrap());
276276 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -280,7 +280,7 @@ error[E0308]: mismatched types
280280 |
281281LL | id_u16(b64);
282282 | ^^^ 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
284284 |
285285LL | id_u16(b64.try_into().unwrap());
286286 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -308,7 +308,7 @@ error[E0308]: mismatched types
308308 |
309309LL | id_u32(b64);
310310 | ^^^ 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
312312 |
313313LL | id_u32(b64.try_into().unwrap());
314314 | ^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments