@@ -4,7 +4,7 @@ error: any use of this value will cause an error
44LL | const SHL_U8: u8 = unsafe { intrinsics::unchecked_shl(5_u8, 8) };
55 | ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
66 | |
7- | Overflowing shift by 8 in unchecked_shl
7+ | Overflowing shift by 8 in ` unchecked_shl`
88 |
99 = note: `#[deny(const_err)]` on by default
1010
@@ -14,311 +14,311 @@ error: any use of this value will cause an error
1414LL | const SHL_U16: u16 = unsafe { intrinsics::unchecked_shl(5_u16, 16) };
1515 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
1616 | |
17- | Overflowing shift by 16 in unchecked_shl
17+ | Overflowing shift by 16 in ` unchecked_shl`
1818
1919error: any use of this value will cause an error
2020 --> $DIR/const-int-unchecked.rs:18:31
2121 |
2222LL | const SHL_U32: u32 = unsafe { intrinsics::unchecked_shl(5_u32, 32) };
2323 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
2424 | |
25- | Overflowing shift by 32 in unchecked_shl
25+ | Overflowing shift by 32 in ` unchecked_shl`
2626
2727error: any use of this value will cause an error
2828 --> $DIR/const-int-unchecked.rs:20:31
2929 |
3030LL | const SHL_U64: u64 = unsafe { intrinsics::unchecked_shl(5_u64, 64) };
3131 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
3232 | |
33- | Overflowing shift by 64 in unchecked_shl
33+ | Overflowing shift by 64 in ` unchecked_shl`
3434
3535error: any use of this value will cause an error
3636 --> $DIR/const-int-unchecked.rs:22:33
3737 |
3838LL | const SHL_U128: u128 = unsafe { intrinsics::unchecked_shl(5_u128, 128) };
3939 | --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
4040 | |
41- | Overflowing shift by 128 in unchecked_shl
41+ | Overflowing shift by 128 in ` unchecked_shl`
4242
4343error: any use of this value will cause an error
4444 --> $DIR/const-int-unchecked.rs:27:29
4545 |
4646LL | const SHL_I8: i8 = unsafe { intrinsics::unchecked_shl(5_i8, 8) };
4747 | ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
4848 | |
49- | Overflowing shift by 8 in unchecked_shl
49+ | Overflowing shift by 8 in ` unchecked_shl`
5050
5151error: any use of this value will cause an error
5252 --> $DIR/const-int-unchecked.rs:29:31
5353 |
5454LL | const SHL_I16: i16 = unsafe { intrinsics::unchecked_shl(5_16, 16) };
5555 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
5656 | |
57- | Overflowing shift by 16 in unchecked_shl
57+ | Overflowing shift by 16 in ` unchecked_shl`
5858
5959error: any use of this value will cause an error
6060 --> $DIR/const-int-unchecked.rs:31:31
6161 |
6262LL | const SHL_I32: i32 = unsafe { intrinsics::unchecked_shl(5_i32, 32) };
6363 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
6464 | |
65- | Overflowing shift by 32 in unchecked_shl
65+ | Overflowing shift by 32 in ` unchecked_shl`
6666
6767error: any use of this value will cause an error
6868 --> $DIR/const-int-unchecked.rs:33:31
6969 |
7070LL | const SHL_I64: i64 = unsafe { intrinsics::unchecked_shl(5_i64, 64) };
7171 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
7272 | |
73- | Overflowing shift by 64 in unchecked_shl
73+ | Overflowing shift by 64 in ` unchecked_shl`
7474
7575error: any use of this value will cause an error
7676 --> $DIR/const-int-unchecked.rs:35:33
7777 |
7878LL | const SHL_I128: i128 = unsafe { intrinsics::unchecked_shl(5_i128, 128) };
7979 | --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
8080 | |
81- | Overflowing shift by 128 in unchecked_shl
81+ | Overflowing shift by 128 in ` unchecked_shl`
8282
8383error: any use of this value will cause an error
8484 --> $DIR/const-int-unchecked.rs:40:33
8585 |
8686LL | const SHL_I8_NEG: i8 = unsafe { intrinsics::unchecked_shl(5_i8, -1) };
8787 | --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
8888 | |
89- | Overflowing shift by 255 in unchecked_shl
89+ | Overflowing shift by 255 in ` unchecked_shl`
9090
9191error: any use of this value will cause an error
9292 --> $DIR/const-int-unchecked.rs:42:35
9393 |
9494LL | const SHL_I16_NEG: i16 = unsafe { intrinsics::unchecked_shl(5_16, -1) };
9595 | ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
9696 | |
97- | Overflowing shift by 65535 in unchecked_shl
97+ | Overflowing shift by 65535 in ` unchecked_shl`
9898
9999error: any use of this value will cause an error
100100 --> $DIR/const-int-unchecked.rs:44:35
101101 |
102102LL | const SHL_I32_NEG: i32 = unsafe { intrinsics::unchecked_shl(5_i32, -1) };
103103 | ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
104104 | |
105- | Overflowing shift by 4294967295 in unchecked_shl
105+ | Overflowing shift by 4294967295 in ` unchecked_shl`
106106
107107error: any use of this value will cause an error
108108 --> $DIR/const-int-unchecked.rs:46:35
109109 |
110110LL | const SHL_I64_NEG: i64 = unsafe { intrinsics::unchecked_shl(5_i64, -1) };
111111 | ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
112112 | |
113- | Overflowing shift by 18446744073709551615 in unchecked_shl
113+ | Overflowing shift by 18446744073709551615 in ` unchecked_shl`
114114
115115error: any use of this value will cause an error
116116 --> $DIR/const-int-unchecked.rs:48:37
117117 |
118118LL | const SHL_I128_NEG: i128 = unsafe { intrinsics::unchecked_shl(5_i128, -1) };
119119 | ------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
120120 | |
121- | Overflowing shift by 340282366920938463463374607431768211455 in unchecked_shl
121+ | Overflowing shift by 340282366920938463463374607431768211455 in ` unchecked_shl`
122122
123123error: any use of this value will cause an error
124124 --> $DIR/const-int-unchecked.rs:54:40
125125 |
126126LL | const SHL_I8_NEG_RANDOM: i8 = unsafe { intrinsics::unchecked_shl(5_i8, -6) };
127127 | ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
128128 | |
129- | Overflowing shift by 250 in unchecked_shl
129+ | Overflowing shift by 250 in ` unchecked_shl`
130130
131131error: any use of this value will cause an error
132132 --> $DIR/const-int-unchecked.rs:56:42
133133 |
134134LL | const SHL_I16_NEG_RANDOM: i16 = unsafe { intrinsics::unchecked_shl(5_16, -13) };
135135 | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
136136 | |
137- | Overflowing shift by 65523 in unchecked_shl
137+ | Overflowing shift by 65523 in ` unchecked_shl`
138138
139139error: any use of this value will cause an error
140140 --> $DIR/const-int-unchecked.rs:58:42
141141 |
142142LL | const SHL_I32_NEG_RANDOM: i32 = unsafe { intrinsics::unchecked_shl(5_i32, -25) };
143143 | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
144144 | |
145- | Overflowing shift by 4294967271 in unchecked_shl
145+ | Overflowing shift by 4294967271 in ` unchecked_shl`
146146
147147error: any use of this value will cause an error
148148 --> $DIR/const-int-unchecked.rs:60:42
149149 |
150150LL | const SHL_I64_NEG_RANDOM: i64 = unsafe { intrinsics::unchecked_shl(5_i64, -30) };
151151 | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
152152 | |
153- | Overflowing shift by 18446744073709551586 in unchecked_shl
153+ | Overflowing shift by 18446744073709551586 in ` unchecked_shl`
154154
155155error: any use of this value will cause an error
156156 --> $DIR/const-int-unchecked.rs:62:44
157157 |
158158LL | const SHL_I128_NEG_RANDOM: i128 = unsafe { intrinsics::unchecked_shl(5_i128, -93) };
159159 | -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
160160 | |
161- | Overflowing shift by 340282366920938463463374607431768211363 in unchecked_shl
161+ | Overflowing shift by 340282366920938463463374607431768211363 in ` unchecked_shl`
162162
163163error: any use of this value will cause an error
164164 --> $DIR/const-int-unchecked.rs:69:29
165165 |
166166LL | const SHR_U8: u8 = unsafe { intrinsics::unchecked_shr(5_u8, 8) };
167167 | ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
168168 | |
169- | Overflowing shift by 8 in unchecked_shr
169+ | Overflowing shift by 8 in ` unchecked_shr`
170170
171171error: any use of this value will cause an error
172172 --> $DIR/const-int-unchecked.rs:71:31
173173 |
174174LL | const SHR_U16: u16 = unsafe { intrinsics::unchecked_shr(5_u16, 16) };
175175 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
176176 | |
177- | Overflowing shift by 16 in unchecked_shr
177+ | Overflowing shift by 16 in ` unchecked_shr`
178178
179179error: any use of this value will cause an error
180180 --> $DIR/const-int-unchecked.rs:73:31
181181 |
182182LL | const SHR_U32: u32 = unsafe { intrinsics::unchecked_shr(5_u32, 32) };
183183 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
184184 | |
185- | Overflowing shift by 32 in unchecked_shr
185+ | Overflowing shift by 32 in ` unchecked_shr`
186186
187187error: any use of this value will cause an error
188188 --> $DIR/const-int-unchecked.rs:75:31
189189 |
190190LL | const SHR_U64: u64 = unsafe { intrinsics::unchecked_shr(5_u64, 64) };
191191 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
192192 | |
193- | Overflowing shift by 64 in unchecked_shr
193+ | Overflowing shift by 64 in ` unchecked_shr`
194194
195195error: any use of this value will cause an error
196196 --> $DIR/const-int-unchecked.rs:77:33
197197 |
198198LL | const SHR_U128: u128 = unsafe { intrinsics::unchecked_shr(5_u128, 128) };
199199 | --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
200200 | |
201- | Overflowing shift by 128 in unchecked_shr
201+ | Overflowing shift by 128 in ` unchecked_shr`
202202
203203error: any use of this value will cause an error
204204 --> $DIR/const-int-unchecked.rs:82:29
205205 |
206206LL | const SHR_I8: i8 = unsafe { intrinsics::unchecked_shr(5_i8, 8) };
207207 | ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
208208 | |
209- | Overflowing shift by 8 in unchecked_shr
209+ | Overflowing shift by 8 in ` unchecked_shr`
210210
211211error: any use of this value will cause an error
212212 --> $DIR/const-int-unchecked.rs:84:31
213213 |
214214LL | const SHR_I16: i16 = unsafe { intrinsics::unchecked_shr(5_16, 16) };
215215 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
216216 | |
217- | Overflowing shift by 16 in unchecked_shr
217+ | Overflowing shift by 16 in ` unchecked_shr`
218218
219219error: any use of this value will cause an error
220220 --> $DIR/const-int-unchecked.rs:86:31
221221 |
222222LL | const SHR_I32: i32 = unsafe { intrinsics::unchecked_shr(5_i32, 32) };
223223 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
224224 | |
225- | Overflowing shift by 32 in unchecked_shr
225+ | Overflowing shift by 32 in ` unchecked_shr`
226226
227227error: any use of this value will cause an error
228228 --> $DIR/const-int-unchecked.rs:88:31
229229 |
230230LL | const SHR_I64: i64 = unsafe { intrinsics::unchecked_shr(5_i64, 64) };
231231 | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
232232 | |
233- | Overflowing shift by 64 in unchecked_shr
233+ | Overflowing shift by 64 in ` unchecked_shr`
234234
235235error: any use of this value will cause an error
236236 --> $DIR/const-int-unchecked.rs:90:33
237237 |
238238LL | const SHR_I128: i128 = unsafe { intrinsics::unchecked_shr(5_i128, 128) };
239239 | --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
240240 | |
241- | Overflowing shift by 128 in unchecked_shr
241+ | Overflowing shift by 128 in ` unchecked_shr`
242242
243243error: any use of this value will cause an error
244244 --> $DIR/const-int-unchecked.rs:95:33
245245 |
246246LL | const SHR_I8_NEG: i8 = unsafe { intrinsics::unchecked_shr(5_i8, -1) };
247247 | --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
248248 | |
249- | Overflowing shift by 255 in unchecked_shr
249+ | Overflowing shift by 255 in ` unchecked_shr`
250250
251251error: any use of this value will cause an error
252252 --> $DIR/const-int-unchecked.rs:97:35
253253 |
254254LL | const SHR_I16_NEG: i16 = unsafe { intrinsics::unchecked_shr(5_16, -1) };
255255 | ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
256256 | |
257- | Overflowing shift by 65535 in unchecked_shr
257+ | Overflowing shift by 65535 in ` unchecked_shr`
258258
259259error: any use of this value will cause an error
260260 --> $DIR/const-int-unchecked.rs:99:35
261261 |
262262LL | const SHR_I32_NEG: i32 = unsafe { intrinsics::unchecked_shr(5_i32, -1) };
263263 | ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
264264 | |
265- | Overflowing shift by 4294967295 in unchecked_shr
265+ | Overflowing shift by 4294967295 in ` unchecked_shr`
266266
267267error: any use of this value will cause an error
268268 --> $DIR/const-int-unchecked.rs:101:35
269269 |
270270LL | const SHR_I64_NEG: i64 = unsafe { intrinsics::unchecked_shr(5_i64, -1) };
271271 | ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
272272 | |
273- | Overflowing shift by 18446744073709551615 in unchecked_shr
273+ | Overflowing shift by 18446744073709551615 in ` unchecked_shr`
274274
275275error: any use of this value will cause an error
276276 --> $DIR/const-int-unchecked.rs:103:37
277277 |
278278LL | const SHR_I128_NEG: i128 = unsafe { intrinsics::unchecked_shr(5_i128, -1) };
279279 | ------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
280280 | |
281- | Overflowing shift by 340282366920938463463374607431768211455 in unchecked_shr
281+ | Overflowing shift by 340282366920938463463374607431768211455 in ` unchecked_shr`
282282
283283error: any use of this value will cause an error
284284 --> $DIR/const-int-unchecked.rs:109:40
285285 |
286286LL | const SHR_I8_NEG_RANDOM: i8 = unsafe { intrinsics::unchecked_shr(5_i8, -6) };
287287 | ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
288288 | |
289- | Overflowing shift by 250 in unchecked_shr
289+ | Overflowing shift by 250 in ` unchecked_shr`
290290
291291error: any use of this value will cause an error
292292 --> $DIR/const-int-unchecked.rs:111:42
293293 |
294294LL | const SHR_I16_NEG_RANDOM: i16 = unsafe { intrinsics::unchecked_shr(5_16, -13) };
295295 | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
296296 | |
297- | Overflowing shift by 65523 in unchecked_shr
297+ | Overflowing shift by 65523 in ` unchecked_shr`
298298
299299error: any use of this value will cause an error
300300 --> $DIR/const-int-unchecked.rs:113:42
301301 |
302302LL | const SHR_I32_NEG_RANDOM: i32 = unsafe { intrinsics::unchecked_shr(5_i32, -25) };
303303 | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
304304 | |
305- | Overflowing shift by 4294967271 in unchecked_shr
305+ | Overflowing shift by 4294967271 in ` unchecked_shr`
306306
307307error: any use of this value will cause an error
308308 --> $DIR/const-int-unchecked.rs:115:42
309309 |
310310LL | const SHR_I64_NEG_RANDOM: i64 = unsafe { intrinsics::unchecked_shr(5_i64, -30) };
311311 | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
312312 | |
313- | Overflowing shift by 18446744073709551586 in unchecked_shr
313+ | Overflowing shift by 18446744073709551586 in ` unchecked_shr`
314314
315315error: any use of this value will cause an error
316316 --> $DIR/const-int-unchecked.rs:117:44
317317 |
318318LL | const SHR_I128_NEG_RANDOM: i128 = unsafe { intrinsics::unchecked_shr(5_i128, -93) };
319319 | -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
320320 | |
321- | Overflowing shift by 340282366920938463463374607431768211363 in unchecked_shr
321+ | Overflowing shift by 340282366920938463463374607431768211363 in ` unchecked_shr`
322322
323323error: aborting due to 40 previous errors
324324
0 commit comments