@@ -328,7 +328,7 @@ error[E0308]: mismatched types
328328LL | id_u8(b16);
329329 | ^^^ expected `u8`, found `u16`
330330 |
331- help: you can convert an `u16` to `u8` and panic if the converted value wouldn't fit
331+ help: you can convert a `u16` to `u8` and panic if the converted value wouldn't fit
332332 |
333333LL | id_u8(b16.try_into().unwrap());
334334 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -339,7 +339,7 @@ error[E0308]: mismatched types
339339LL | id_u8(b32);
340340 | ^^^ expected `u8`, found `u32`
341341 |
342- help: you can convert an `u32` to `u8` and panic if the converted value wouldn't fit
342+ help: you can convert a `u32` to `u8` and panic if the converted value wouldn't fit
343343 |
344344LL | id_u8(b32.try_into().unwrap());
345345 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -350,7 +350,7 @@ error[E0308]: mismatched types
350350LL | id_u8(b64);
351351 | ^^^ expected `u8`, found `u64`
352352 |
353- help: you can convert an `u64` to `u8` and panic if the converted value wouldn't fit
353+ help: you can convert a `u64` to `u8` and panic if the converted value wouldn't fit
354354 |
355355LL | id_u8(b64.try_into().unwrap());
356356 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -361,7 +361,7 @@ error[E0308]: mismatched types
361361LL | id_u8(bsize);
362362 | ^^^^^ expected `u8`, found `usize`
363363 |
364- help: you can convert an `usize` to `u8` and panic if the converted value wouldn't fit
364+ help: you can convert a `usize` to `u8` and panic if the converted value wouldn't fit
365365 |
366366LL | id_u8(bsize.try_into().unwrap());
367367 | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -373,15 +373,15 @@ LL | id_u16(b8);
373373 | ^^
374374 | |
375375 | expected `u16`, found `u8`
376- | help: you can convert an `u8` to `u16`: `b8.into()`
376+ | help: you can convert a `u8` to `u16`: `b8.into()`
377377
378378error[E0308]: mismatched types
379379 --> $DIR/integer-literal-suffix-inference.rs:169:12
380380 |
381381LL | id_u16(b32);
382382 | ^^^ expected `u16`, found `u32`
383383 |
384- help: you can convert an `u32` to `u16` and panic if the converted value wouldn't fit
384+ help: you can convert a `u32` to `u16` and panic if the converted value wouldn't fit
385385 |
386386LL | id_u16(b32.try_into().unwrap());
387387 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -392,7 +392,7 @@ error[E0308]: mismatched types
392392LL | id_u16(b64);
393393 | ^^^ expected `u16`, found `u64`
394394 |
395- help: you can convert an `u64` to `u16` and panic if the converted value wouldn't fit
395+ help: you can convert a `u64` to `u16` and panic if the converted value wouldn't fit
396396 |
397397LL | id_u16(b64.try_into().unwrap());
398398 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -403,7 +403,7 @@ error[E0308]: mismatched types
403403LL | id_u16(bsize);
404404 | ^^^^^ expected `u16`, found `usize`
405405 |
406- help: you can convert an `usize` to `u16` and panic if the converted value wouldn't fit
406+ help: you can convert a `usize` to `u16` and panic if the converted value wouldn't fit
407407 |
408408LL | id_u16(bsize.try_into().unwrap());
409409 | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -415,7 +415,7 @@ LL | id_u32(b8);
415415 | ^^
416416 | |
417417 | expected `u32`, found `u8`
418- | help: you can convert an `u8` to `u32`: `b8.into()`
418+ | help: you can convert a `u8` to `u32`: `b8.into()`
419419
420420error[E0308]: mismatched types
421421 --> $DIR/integer-literal-suffix-inference.rs:182:12
@@ -424,15 +424,15 @@ LL | id_u32(b16);
424424 | ^^^
425425 | |
426426 | expected `u32`, found `u16`
427- | help: you can convert an `u16` to `u32`: `b16.into()`
427+ | help: you can convert a `u16` to `u32`: `b16.into()`
428428
429429error[E0308]: mismatched types
430430 --> $DIR/integer-literal-suffix-inference.rs:186:12
431431 |
432432LL | id_u32(b64);
433433 | ^^^ expected `u32`, found `u64`
434434 |
435- help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit
435+ help: you can convert a `u64` to `u32` and panic if the converted value wouldn't fit
436436 |
437437LL | id_u32(b64.try_into().unwrap());
438438 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -443,7 +443,7 @@ error[E0308]: mismatched types
443443LL | id_u32(bsize);
444444 | ^^^^^ expected `u32`, found `usize`
445445 |
446- help: you can convert an `usize` to `u32` and panic if the converted value wouldn't fit
446+ help: you can convert a `usize` to `u32` and panic if the converted value wouldn't fit
447447 |
448448LL | id_u32(bsize.try_into().unwrap());
449449 | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -455,7 +455,7 @@ LL | id_u64(b8);
455455 | ^^
456456 | |
457457 | expected `u64`, found `u8`
458- | help: you can convert an `u8` to `u64`: `b8.into()`
458+ | help: you can convert a `u8` to `u64`: `b8.into()`
459459
460460error[E0308]: mismatched types
461461 --> $DIR/integer-literal-suffix-inference.rs:196:12
@@ -464,7 +464,7 @@ LL | id_u64(b16);
464464 | ^^^
465465 | |
466466 | expected `u64`, found `u16`
467- | help: you can convert an `u16` to `u64`: `b16.into()`
467+ | help: you can convert a `u16` to `u64`: `b16.into()`
468468
469469error[E0308]: mismatched types
470470 --> $DIR/integer-literal-suffix-inference.rs:199:12
@@ -473,15 +473,15 @@ LL | id_u64(b32);
473473 | ^^^
474474 | |
475475 | expected `u64`, found `u32`
476- | help: you can convert an `u32` to `u64`: `b32.into()`
476+ | help: you can convert a `u32` to `u64`: `b32.into()`
477477
478478error[E0308]: mismatched types
479479 --> $DIR/integer-literal-suffix-inference.rs:203:12
480480 |
481481LL | id_u64(bsize);
482482 | ^^^^^ expected `u64`, found `usize`
483483 |
484- help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit
484+ help: you can convert a `usize` to `u64` and panic if the converted value wouldn't fit
485485 |
486486LL | id_u64(bsize.try_into().unwrap());
487487 | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -493,7 +493,7 @@ LL | id_usize(b8);
493493 | ^^
494494 | |
495495 | expected `usize`, found `u8`
496- | help: you can convert an `u8` to `usize`: `b8.into()`
496+ | help: you can convert a `u8` to `usize`: `b8.into()`
497497
498498error[E0308]: mismatched types
499499 --> $DIR/integer-literal-suffix-inference.rs:210:14
@@ -502,15 +502,15 @@ LL | id_usize(b16);
502502 | ^^^
503503 | |
504504 | expected `usize`, found `u16`
505- | help: you can convert an `u16` to `usize`: `b16.into()`
505+ | help: you can convert a `u16` to `usize`: `b16.into()`
506506
507507error[E0308]: mismatched types
508508 --> $DIR/integer-literal-suffix-inference.rs:213:14
509509 |
510510LL | id_usize(b32);
511511 | ^^^ expected `usize`, found `u32`
512512 |
513- help: you can convert an `u32` to `usize` and panic if the converted value wouldn't fit
513+ help: you can convert a `u32` to `usize` and panic if the converted value wouldn't fit
514514 |
515515LL | id_usize(b32.try_into().unwrap());
516516 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -521,7 +521,7 @@ error[E0308]: mismatched types
521521LL | id_usize(b64);
522522 | ^^^ expected `usize`, found `u64`
523523 |
524- help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit
524+ help: you can convert a `u64` to `usize` and panic if the converted value wouldn't fit
525525 |
526526LL | id_usize(b64.try_into().unwrap());
527527 | ^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments