@@ -62,61 +62,61 @@ error[E0080]: evaluation of constant value failed
6262  --> $DIR/const-int-unchecked.rs:41:33
6363   |
6464LL | const SHL_I8_NEG: i8 = unsafe { intrinsics::unchecked_shl(5_i8, -1) };
65-    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 255  in `unchecked_shl`
65+    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shl`
6666
6767error[E0080]: evaluation of constant value failed
6868  --> $DIR/const-int-unchecked.rs:43:35
6969   |
7070LL | const SHL_I16_NEG: i16 = unsafe { intrinsics::unchecked_shl(5_16, -1) };
71-    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 65535  in `unchecked_shl`
71+    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shl`
7272
7373error[E0080]: evaluation of constant value failed
7474  --> $DIR/const-int-unchecked.rs:45:35
7575   |
7676LL | const SHL_I32_NEG: i32 = unsafe { intrinsics::unchecked_shl(5_i32, -1) };
77-    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 4294967295  in `unchecked_shl`
77+    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shl`
7878
7979error[E0080]: evaluation of constant value failed
8080  --> $DIR/const-int-unchecked.rs:47:35
8181   |
8282LL | const SHL_I64_NEG: i64 = unsafe { intrinsics::unchecked_shl(5_i64, -1) };
83-    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 18446744073709551615  in `unchecked_shl`
83+    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shl`
8484
8585error[E0080]: evaluation of constant value failed
8686  --> $DIR/const-int-unchecked.rs:49:37
8787   |
8888LL | const SHL_I128_NEG: i128 = unsafe { intrinsics::unchecked_shl(5_i128, -1) };
89-    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 340282366920938463463374607431768211455  in `unchecked_shl`
89+    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shl`
9090
9191error[E0080]: evaluation of constant value failed
9292  --> $DIR/const-int-unchecked.rs:55:40
9393   |
9494LL | const SHL_I8_NEG_RANDOM: i8 = unsafe { intrinsics::unchecked_shl(5_i8, -6) };
95-    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 250  in `unchecked_shl`
95+    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -6  in `unchecked_shl`
9696
9797error[E0080]: evaluation of constant value failed
9898  --> $DIR/const-int-unchecked.rs:57:42
9999   |
100100LL | const SHL_I16_NEG_RANDOM: i16 = unsafe { intrinsics::unchecked_shl(5_16, -13) };
101-    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 65523  in `unchecked_shl`
101+    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -13  in `unchecked_shl`
102102
103103error[E0080]: evaluation of constant value failed
104104  --> $DIR/const-int-unchecked.rs:59:42
105105   |
106106LL | const SHL_I32_NEG_RANDOM: i32 = unsafe { intrinsics::unchecked_shl(5_i32, -25) };
107-    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 4294967271  in `unchecked_shl`
107+    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -25  in `unchecked_shl`
108108
109109error[E0080]: evaluation of constant value failed
110110  --> $DIR/const-int-unchecked.rs:61:42
111111   |
112112LL | const SHL_I64_NEG_RANDOM: i64 = unsafe { intrinsics::unchecked_shl(5_i64, -30) };
113-    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 18446744073709551586  in `unchecked_shl`
113+    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -30  in `unchecked_shl`
114114
115115error[E0080]: evaluation of constant value failed
116116  --> $DIR/const-int-unchecked.rs:63:44
117117   |
118118LL | const SHL_I128_NEG_RANDOM: i128 = unsafe { intrinsics::unchecked_shl(5_i128, -93) };
119-    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 340282366920938463463374607431768211363  in `unchecked_shl`
119+    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -93  in `unchecked_shl`
120120
121121error[E0080]: evaluation of constant value failed
122122  --> $DIR/const-int-unchecked.rs:70:29
@@ -182,61 +182,61 @@ error[E0080]: evaluation of constant value failed
182182  --> $DIR/const-int-unchecked.rs:96:33
183183   |
184184LL | const SHR_I8_NEG: i8 = unsafe { intrinsics::unchecked_shr(5_i8, -1) };
185-    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 255  in `unchecked_shr`
185+    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shr`
186186
187187error[E0080]: evaluation of constant value failed
188188  --> $DIR/const-int-unchecked.rs:98:35
189189   |
190190LL | const SHR_I16_NEG: i16 = unsafe { intrinsics::unchecked_shr(5_16, -1) };
191-    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 65535  in `unchecked_shr`
191+    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shr`
192192
193193error[E0080]: evaluation of constant value failed
194194  --> $DIR/const-int-unchecked.rs:100:35
195195   |
196196LL | const SHR_I32_NEG: i32 = unsafe { intrinsics::unchecked_shr(5_i32, -1) };
197-    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 4294967295  in `unchecked_shr`
197+    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shr`
198198
199199error[E0080]: evaluation of constant value failed
200200  --> $DIR/const-int-unchecked.rs:102:35
201201   |
202202LL | const SHR_I64_NEG: i64 = unsafe { intrinsics::unchecked_shr(5_i64, -1) };
203-    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 18446744073709551615  in `unchecked_shr`
203+    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shr`
204204
205205error[E0080]: evaluation of constant value failed
206206  --> $DIR/const-int-unchecked.rs:104:37
207207   |
208208LL | const SHR_I128_NEG: i128 = unsafe { intrinsics::unchecked_shr(5_i128, -1) };
209-    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 340282366920938463463374607431768211455  in `unchecked_shr`
209+    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -1  in `unchecked_shr`
210210
211211error[E0080]: evaluation of constant value failed
212212  --> $DIR/const-int-unchecked.rs:110:40
213213   |
214214LL | const SHR_I8_NEG_RANDOM: i8 = unsafe { intrinsics::unchecked_shr(5_i8, -6) };
215-    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 250  in `unchecked_shr`
215+    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -6  in `unchecked_shr`
216216
217217error[E0080]: evaluation of constant value failed
218218  --> $DIR/const-int-unchecked.rs:112:42
219219   |
220220LL | const SHR_I16_NEG_RANDOM: i16 = unsafe { intrinsics::unchecked_shr(5_16, -13) };
221-    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 65523  in `unchecked_shr`
221+    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -13  in `unchecked_shr`
222222
223223error[E0080]: evaluation of constant value failed
224224  --> $DIR/const-int-unchecked.rs:114:42
225225   |
226226LL | const SHR_I32_NEG_RANDOM: i32 = unsafe { intrinsics::unchecked_shr(5_i32, -25) };
227-    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 4294967271  in `unchecked_shr`
227+    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -25  in `unchecked_shr`
228228
229229error[E0080]: evaluation of constant value failed
230230  --> $DIR/const-int-unchecked.rs:116:42
231231   |
232232LL | const SHR_I64_NEG_RANDOM: i64 = unsafe { intrinsics::unchecked_shr(5_i64, -30) };
233-    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 18446744073709551586  in `unchecked_shr`
233+    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -30  in `unchecked_shr`
234234
235235error[E0080]: evaluation of constant value failed
236236  --> $DIR/const-int-unchecked.rs:118:44
237237   |
238238LL | const SHR_I128_NEG_RANDOM: i128 = unsafe { intrinsics::unchecked_shr(5_i128, -93) };
239-    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by 340282366920938463463374607431768211363  in `unchecked_shr`
239+    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overflowing shift by -93  in `unchecked_shr`
240240
241241error[E0080]: evaluation of constant value failed
242242  --> $DIR/const-int-unchecked.rs:123:25
0 commit comments