2018-09-07 03:53:31 -05:00
|
|
|
error: any use of this value will cause an error
|
2020-02-10 13:46:51 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:15:29
|
2018-09-06 06:13:07 -05:00
|
|
|
|
|
2018-12-29 05:56:14 -06:00
|
|
|
LL | const SHL_U8: u8 = unsafe { intrinsics::unchecked_shl(5_u8, 8) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 8 in `unchecked_shl`
|
2018-09-06 06:13:07 -05:00
|
|
|
|
|
2019-07-16 15:17:38 -05:00
|
|
|
= note: `#[deny(const_err)]` on by default
|
2021-01-30 07:49:22 -06:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-09-06 06:13:07 -05:00
|
|
|
|
2018-09-07 03:53:31 -05:00
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:18:31
|
2018-09-06 06:13:07 -05:00
|
|
|
|
|
2018-12-29 05:56:14 -06:00
|
|
|
LL | const SHL_U16: u16 = unsafe { intrinsics::unchecked_shl(5_u16, 16) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 16 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-09-06 06:13:07 -05:00
|
|
|
|
2018-12-29 05:56:14 -06:00
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:21:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_U32: u32 = unsafe { intrinsics::unchecked_shl(5_u32, 32) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 32 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:24:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_U64: u64 = unsafe { intrinsics::unchecked_shl(5_u64, 64) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 64 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:27:33
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_U128: u128 = unsafe { intrinsics::unchecked_shl(5_u128, 128) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 128 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:33:29
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I8: i8 = unsafe { intrinsics::unchecked_shl(5_i8, 8) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 8 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:36:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I16: i16 = unsafe { intrinsics::unchecked_shl(5_16, 16) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 16 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:39:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I32: i32 = unsafe { intrinsics::unchecked_shl(5_i32, 32) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 32 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:42:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I64: i64 = unsafe { intrinsics::unchecked_shl(5_i64, 64) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 64 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:45:33
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I128: i128 = unsafe { intrinsics::unchecked_shl(5_i128, 128) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 128 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:51:33
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I8_NEG: i8 = unsafe { intrinsics::unchecked_shl(5_i8, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 255 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:54:35
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I16_NEG: i16 = unsafe { intrinsics::unchecked_shl(5_16, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 65535 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:57:35
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I32_NEG: i32 = unsafe { intrinsics::unchecked_shl(5_i32, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 4294967295 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:60:35
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I64_NEG: i64 = unsafe { intrinsics::unchecked_shl(5_i64, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 18446744073709551615 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:63:37
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I128_NEG: i128 = unsafe { intrinsics::unchecked_shl(5_i128, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 340282366920938463463374607431768211455 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:70:40
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I8_NEG_RANDOM: i8 = unsafe { intrinsics::unchecked_shl(5_i8, -6) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 250 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:73:42
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I16_NEG_RANDOM: i16 = unsafe { intrinsics::unchecked_shl(5_16, -13) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 65523 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:76:42
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I32_NEG_RANDOM: i32 = unsafe { intrinsics::unchecked_shl(5_i32, -25) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 4294967271 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:79:42
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I64_NEG_RANDOM: i64 = unsafe { intrinsics::unchecked_shl(5_i64, -30) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 18446744073709551586 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:82:44
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHL_I128_NEG_RANDOM: i128 = unsafe { intrinsics::unchecked_shl(5_i128, -93) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 340282366920938463463374607431768211363 in `unchecked_shl`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:90:29
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_U8: u8 = unsafe { intrinsics::unchecked_shr(5_u8, 8) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 8 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:93:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_U16: u16 = unsafe { intrinsics::unchecked_shr(5_u16, 16) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 16 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:96:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_U32: u32 = unsafe { intrinsics::unchecked_shr(5_u32, 32) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 32 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:99:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_U64: u64 = unsafe { intrinsics::unchecked_shr(5_u64, 64) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 64 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:102:33
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_U128: u128 = unsafe { intrinsics::unchecked_shr(5_u128, 128) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 128 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:108:29
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I8: i8 = unsafe { intrinsics::unchecked_shr(5_i8, 8) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 8 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:111:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I16: i16 = unsafe { intrinsics::unchecked_shr(5_16, 16) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 16 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:114:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I32: i32 = unsafe { intrinsics::unchecked_shr(5_i32, 32) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 32 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:117:31
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I64: i64 = unsafe { intrinsics::unchecked_shr(5_i64, 64) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 64 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:120:33
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I128: i128 = unsafe { intrinsics::unchecked_shr(5_i128, 128) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 128 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:126:33
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I8_NEG: i8 = unsafe { intrinsics::unchecked_shr(5_i8, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 255 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:129:35
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I16_NEG: i16 = unsafe { intrinsics::unchecked_shr(5_16, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 65535 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:132:35
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I32_NEG: i32 = unsafe { intrinsics::unchecked_shr(5_i32, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 4294967295 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:135:35
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I64_NEG: i64 = unsafe { intrinsics::unchecked_shr(5_i64, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 18446744073709551615 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:138:37
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I128_NEG: i128 = unsafe { intrinsics::unchecked_shr(5_i128, -1) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 340282366920938463463374607431768211455 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:145:40
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I8_NEG_RANDOM: i8 = unsafe { intrinsics::unchecked_shr(5_i8, -6) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 250 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:148:42
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I16_NEG_RANDOM: i16 = unsafe { intrinsics::unchecked_shr(5_16, -13) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 65523 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:151:42
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I32_NEG_RANDOM: i32 = unsafe { intrinsics::unchecked_shr(5_i32, -25) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 4294967271 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:154:42
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I64_NEG_RANDOM: i64 = unsafe { intrinsics::unchecked_shr(5_i64, -30) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 18446744073709551586 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:157:44
|
2018-12-29 05:56:14 -06:00
|
|
|
|
|
|
|
|
LL | const SHR_I128_NEG_RANDOM: i128 = unsafe { intrinsics::unchecked_shr(5_i128, -93) };
|
2019-03-10 19:28:52 -05:00
|
|
|
| -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2018-12-29 05:56:14 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflowing shift by 340282366920938463463374607431768211363 in `unchecked_shr`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2018-12-29 05:56:14 -06:00
|
|
|
|
2020-02-10 13:46:51 -06:00
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:163:25
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
|
LL | const _: u16 = unsafe { std::intrinsics::unchecked_add(40000u16, 30000) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflow executing `unchecked_add`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:167:25
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
|
LL | const _: u32 = unsafe { std::intrinsics::unchecked_sub(14u32, 22) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflow executing `unchecked_sub`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:171:25
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
|
LL | const _: u16 = unsafe { std::intrinsics::unchecked_mul(300u16, 250u16) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflow executing `unchecked_mul`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:175:25
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
|
LL | const _: i32 = unsafe { std::intrinsics::unchecked_div(1, 0) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
|
|
|
| |
|
|
|
|
| dividing by zero
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:178:25
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
2020-06-02 02:59:11 -05:00
|
|
|
LL | const _: i32 = unsafe { std::intrinsics::unchecked_div(i32::MIN, -1) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2020-02-10 13:46:51 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflow executing `unchecked_div`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:182:25
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
|
LL | const _: i32 = unsafe { std::intrinsics::unchecked_rem(1, 0) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
|
|
|
| |
|
|
|
|
| calculating the remainder with a divisor of zero
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
2021-01-30 07:49:22 -06:00
|
|
|
--> $DIR/const-int-unchecked.rs:185:25
|
2020-02-10 13:46:51 -06:00
|
|
|
|
|
2020-06-02 02:59:11 -05:00
|
|
|
LL | const _: i32 = unsafe { std::intrinsics::unchecked_rem(i32::MIN, -1) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
2020-02-10 13:46:51 -06:00
|
|
|
| |
|
2020-03-09 04:17:06 -05:00
|
|
|
| overflow executing `unchecked_rem`
|
2021-01-30 07:49:22 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2020-02-10 13:46:51 -06:00
|
|
|
|
2021-04-11 11:38:05 -05:00
|
|
|
error: any use of this value will cause an error
|
|
|
|
--> $DIR/const-int-unchecked.rs:191:25
|
|
|
|
|
|
|
|
|
LL | const _: u32 = unsafe { std::intrinsics::ctlz_nonzero(0) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
|
|
|
| |
|
|
|
|
| `ctlz_nonzero` called on 0
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
|
|
|
|
|
|
|
error: any use of this value will cause an error
|
|
|
|
--> $DIR/const-int-unchecked.rs:194:25
|
|
|
|
|
|
|
|
|
LL | const _: u32 = unsafe { std::intrinsics::cttz_nonzero(0) };
|
|
|
|
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
|
|
|
| |
|
|
|
|
| `cttz_nonzero` called on 0
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
|
|
|
|
|
|
|
error: aborting due to 49 previous errors
|
2018-09-06 06:13:07 -05:00
|
|
|
|