LL | id_i8(a16);
| ^^^ expected `i8`, found `i16`
|
-help: you can convert an `i16` to `i8` and panic if the converted value wouldn't fit
+help: you can convert an `i16` to an `i8` and panic if the converted value doesn't fit
|
LL | id_i8(a16.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i8(a32);
| ^^^ expected `i8`, found `i32`
|
-help: you can convert an `i32` to `i8` and panic if the converted value wouldn't fit
+help: you can convert an `i32` to an `i8` and panic if the converted value doesn't fit
|
LL | id_i8(a32.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i8(a64);
| ^^^ expected `i8`, found `i64`
|
-help: you can convert an `i64` to `i8` and panic if the converted value wouldn't fit
+help: you can convert an `i64` to an `i8` and panic if the converted value doesn't fit
|
LL | id_i8(a64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i8(asize);
| ^^^^^ expected `i8`, found `isize`
|
-help: you can convert an `isize` to `i8` and panic if the converted value wouldn't fit
+help: you can convert an `isize` to an `i8` and panic if the converted value doesn't fit
|
LL | id_i8(asize.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `i16`, found `i8`
- | help: you can convert an `i8` to `i16`: `a8.into()`
+ | help: you can convert an `i8` to an `i16`: `a8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:55:12
LL | id_i16(a32);
| ^^^ expected `i16`, found `i32`
|
-help: you can convert an `i32` to `i16` and panic if the converted value wouldn't fit
+help: you can convert an `i32` to an `i16` and panic if the converted value doesn't fit
|
LL | id_i16(a32.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i16(a64);
| ^^^ expected `i16`, found `i64`
|
-help: you can convert an `i64` to `i16` and panic if the converted value wouldn't fit
+help: you can convert an `i64` to an `i16` and panic if the converted value doesn't fit
|
LL | id_i16(a64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i16(asize);
| ^^^^^ expected `i16`, found `isize`
|
-help: you can convert an `isize` to `i16` and panic if the converted value wouldn't fit
+help: you can convert an `isize` to an `i16` and panic if the converted value doesn't fit
|
LL | id_i16(asize.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `i32`, found `i8`
- | help: you can convert an `i8` to `i32`: `a8.into()`
+ | help: you can convert an `i8` to an `i32`: `a8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:68:12
| ^^^
| |
| expected `i32`, found `i16`
- | help: you can convert an `i16` to `i32`: `a16.into()`
+ | help: you can convert an `i16` to an `i32`: `a16.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:72:12
LL | id_i32(a64);
| ^^^ expected `i32`, found `i64`
|
-help: you can convert an `i64` to `i32` and panic if the converted value wouldn't fit
+help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
|
LL | id_i32(a64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i32(asize);
| ^^^^^ expected `i32`, found `isize`
|
-help: you can convert an `isize` to `i32` and panic if the converted value wouldn't fit
+help: you can convert an `isize` to an `i32` and panic if the converted value doesn't fit
|
LL | id_i32(asize.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `i64`, found `i8`
- | help: you can convert an `i8` to `i64`: `a8.into()`
+ | help: you can convert an `i8` to an `i64`: `a8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:82:12
| ^^^
| |
| expected `i64`, found `i16`
- | help: you can convert an `i16` to `i64`: `a16.into()`
+ | help: you can convert an `i16` to an `i64`: `a16.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:85:12
| ^^^
| |
| expected `i64`, found `i32`
- | help: you can convert an `i32` to `i64`: `a32.into()`
+ | help: you can convert an `i32` to an `i64`: `a32.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:89:12
LL | id_i64(asize);
| ^^^^^ expected `i64`, found `isize`
|
-help: you can convert an `isize` to `i64` and panic if the converted value wouldn't fit
+help: you can convert an `isize` to an `i64` and panic if the converted value doesn't fit
|
LL | id_i64(asize.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `isize`, found `i8`
- | help: you can convert an `i8` to `isize`: `a8.into()`
+ | help: you can convert an `i8` to an `isize`: `a8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:96:14
| ^^^
| |
| expected `isize`, found `i16`
- | help: you can convert an `i16` to `isize`: `a16.into()`
+ | help: you can convert an `i16` to an `isize`: `a16.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:99:14
LL | id_isize(a32);
| ^^^ expected `isize`, found `i32`
|
-help: you can convert an `i32` to `isize` and panic if the converted value wouldn't fit
+help: you can convert an `i32` to an `isize` and panic if the converted value doesn't fit
|
LL | id_isize(a32.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_isize(a64);
| ^^^ expected `isize`, found `i64`
|
-help: you can convert an `i64` to `isize` and panic if the converted value wouldn't fit
+help: you can convert an `i64` to an `isize` and panic if the converted value doesn't fit
|
LL | id_isize(a64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i8(c16);
| ^^^ expected `i8`, found `i16`
|
-help: you can convert an `i16` to `i8` and panic if the converted value wouldn't fit
+help: you can convert an `i16` to an `i8` and panic if the converted value doesn't fit
|
LL | id_i8(c16.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i8(c32);
| ^^^ expected `i8`, found `i32`
|
-help: you can convert an `i32` to `i8` and panic if the converted value wouldn't fit
+help: you can convert an `i32` to an `i8` and panic if the converted value doesn't fit
|
LL | id_i8(c32.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i8(c64);
| ^^^ expected `i8`, found `i64`
|
-help: you can convert an `i64` to `i8` and panic if the converted value wouldn't fit
+help: you can convert an `i64` to an `i8` and panic if the converted value doesn't fit
|
LL | id_i8(c64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `i16`, found `i8`
- | help: you can convert an `i8` to `i16`: `c8.into()`
+ | help: you can convert an `i8` to an `i16`: `c8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:122:12
LL | id_i16(c32);
| ^^^ expected `i16`, found `i32`
|
-help: you can convert an `i32` to `i16` and panic if the converted value wouldn't fit
+help: you can convert an `i32` to an `i16` and panic if the converted value doesn't fit
|
LL | id_i16(c32.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_i16(c64);
| ^^^ expected `i16`, found `i64`
|
-help: you can convert an `i64` to `i16` and panic if the converted value wouldn't fit
+help: you can convert an `i64` to an `i16` and panic if the converted value doesn't fit
|
LL | id_i16(c64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `i32`, found `i8`
- | help: you can convert an `i8` to `i32`: `c8.into()`
+ | help: you can convert an `i8` to an `i32`: `c8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:132:12
| ^^^
| |
| expected `i32`, found `i16`
- | help: you can convert an `i16` to `i32`: `c16.into()`
+ | help: you can convert an `i16` to an `i32`: `c16.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:136:12
LL | id_i32(c64);
| ^^^ expected `i32`, found `i64`
|
-help: you can convert an `i64` to `i32` and panic if the converted value wouldn't fit
+help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
|
LL | id_i32(c64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `i64`, found `i8`
- | help: you can convert an `i8` to `i64`: `a8.into()`
+ | help: you can convert an `i8` to an `i64`: `a8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:143:12
| ^^^
| |
| expected `i64`, found `i16`
- | help: you can convert an `i16` to `i64`: `a16.into()`
+ | help: you can convert an `i16` to an `i64`: `a16.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:146:12
| ^^^
| |
| expected `i64`, found `i32`
- | help: you can convert an `i32` to `i64`: `a32.into()`
+ | help: you can convert an `i32` to an `i64`: `a32.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:152:11
LL | id_u8(b16);
| ^^^ expected `u8`, found `u16`
|
-help: you can convert an `u16` to `u8` and panic if the converted value wouldn't fit
+help: you can convert a `u16` to a `u8` and panic if the converted value doesn't fit
|
LL | id_u8(b16.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_u8(b32);
| ^^^ expected `u8`, found `u32`
|
-help: you can convert an `u32` to `u8` and panic if the converted value wouldn't fit
+help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit
|
LL | id_u8(b32.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_u8(b64);
| ^^^ expected `u8`, found `u64`
|
-help: you can convert an `u64` to `u8` and panic if the converted value wouldn't fit
+help: you can convert a `u64` to a `u8` and panic if the converted value doesn't fit
|
LL | id_u8(b64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_u8(bsize);
| ^^^^^ expected `u8`, found `usize`
|
-help: you can convert an `usize` to `u8` and panic if the converted value wouldn't fit
+help: you can convert a `usize` to a `u8` and panic if the converted value doesn't fit
|
LL | id_u8(bsize.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `u16`, found `u8`
- | help: you can convert an `u8` to `u16`: `b8.into()`
+ | help: you can convert a `u8` to a `u16`: `b8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:169:12
LL | id_u16(b32);
| ^^^ expected `u16`, found `u32`
|
-help: you can convert an `u32` to `u16` and panic if the converted value wouldn't fit
+help: you can convert a `u32` to a `u16` and panic if the converted value doesn't fit
|
LL | id_u16(b32.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_u16(b64);
| ^^^ expected `u16`, found `u64`
|
-help: you can convert an `u64` to `u16` and panic if the converted value wouldn't fit
+help: you can convert a `u64` to a `u16` and panic if the converted value doesn't fit
|
LL | id_u16(b64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_u16(bsize);
| ^^^^^ expected `u16`, found `usize`
|
-help: you can convert an `usize` to `u16` and panic if the converted value wouldn't fit
+help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit
|
LL | id_u16(bsize.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `u32`, found `u8`
- | help: you can convert an `u8` to `u32`: `b8.into()`
+ | help: you can convert a `u8` to a `u32`: `b8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:182:12
| ^^^
| |
| expected `u32`, found `u16`
- | help: you can convert an `u16` to `u32`: `b16.into()`
+ | help: you can convert a `u16` to a `u32`: `b16.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:186:12
LL | id_u32(b64);
| ^^^ expected `u32`, found `u64`
|
-help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit
+help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
|
LL | id_u32(b64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_u32(bsize);
| ^^^^^ expected `u32`, found `usize`
|
-help: you can convert an `usize` to `u32` and panic if the converted value wouldn't fit
+help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
|
LL | id_u32(bsize.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `u64`, found `u8`
- | help: you can convert an `u8` to `u64`: `b8.into()`
+ | help: you can convert a `u8` to a `u64`: `b8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:196:12
| ^^^
| |
| expected `u64`, found `u16`
- | help: you can convert an `u16` to `u64`: `b16.into()`
+ | help: you can convert a `u16` to a `u64`: `b16.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:199:12
| ^^^
| |
| expected `u64`, found `u32`
- | help: you can convert an `u32` to `u64`: `b32.into()`
+ | help: you can convert a `u32` to a `u64`: `b32.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:203:12
LL | id_u64(bsize);
| ^^^^^ expected `u64`, found `usize`
|
-help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit
+help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
|
LL | id_u64(bsize.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| ^^
| |
| expected `usize`, found `u8`
- | help: you can convert an `u8` to `usize`: `b8.into()`
+ | help: you can convert a `u8` to a `usize`: `b8.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:210:14
| ^^^
| |
| expected `usize`, found `u16`
- | help: you can convert an `u16` to `usize`: `b16.into()`
+ | help: you can convert a `u16` to a `usize`: `b16.into()`
error[E0308]: mismatched types
--> $DIR/integer-literal-suffix-inference.rs:213:14
LL | id_usize(b32);
| ^^^ expected `usize`, found `u32`
|
-help: you can convert an `u32` to `usize` and panic if the converted value wouldn't fit
+help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
|
LL | id_usize(b32.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^
LL | id_usize(b64);
| ^^^ expected `usize`, found `u64`
|
-help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit
+help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
|
LL | id_usize(b64.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^