Skip to content

Commit e5fc957

Browse files
committed
bless
1 parent 1e24c73 commit e5fc957

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

Diff for: src/test/ui/consts/const-int-unchecked.stderr

+40-40
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: any use of this value will cause an error
44
LL | 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
1414
LL | 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

1919
error: any use of this value will cause an error
2020
--> $DIR/const-int-unchecked.rs:18:31
2121
|
2222
LL | 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

2727
error: any use of this value will cause an error
2828
--> $DIR/const-int-unchecked.rs:20:31
2929
|
3030
LL | 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

3535
error: any use of this value will cause an error
3636
--> $DIR/const-int-unchecked.rs:22:33
3737
|
3838
LL | 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

4343
error: any use of this value will cause an error
4444
--> $DIR/const-int-unchecked.rs:27:29
4545
|
4646
LL | 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

5151
error: any use of this value will cause an error
5252
--> $DIR/const-int-unchecked.rs:29:31
5353
|
5454
LL | 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

5959
error: any use of this value will cause an error
6060
--> $DIR/const-int-unchecked.rs:31:31
6161
|
6262
LL | 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

6767
error: any use of this value will cause an error
6868
--> $DIR/const-int-unchecked.rs:33:31
6969
|
7070
LL | 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

7575
error: any use of this value will cause an error
7676
--> $DIR/const-int-unchecked.rs:35:33
7777
|
7878
LL | 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

8383
error: any use of this value will cause an error
8484
--> $DIR/const-int-unchecked.rs:40:33
8585
|
8686
LL | 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

9191
error: any use of this value will cause an error
9292
--> $DIR/const-int-unchecked.rs:42:35
9393
|
9494
LL | 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

9999
error: any use of this value will cause an error
100100
--> $DIR/const-int-unchecked.rs:44:35
101101
|
102102
LL | 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

107107
error: any use of this value will cause an error
108108
--> $DIR/const-int-unchecked.rs:46:35
109109
|
110110
LL | 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

115115
error: any use of this value will cause an error
116116
--> $DIR/const-int-unchecked.rs:48:37
117117
|
118118
LL | 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

123123
error: any use of this value will cause an error
124124
--> $DIR/const-int-unchecked.rs:54:40
125125
|
126126
LL | 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

131131
error: any use of this value will cause an error
132132
--> $DIR/const-int-unchecked.rs:56:42
133133
|
134134
LL | 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

139139
error: any use of this value will cause an error
140140
--> $DIR/const-int-unchecked.rs:58:42
141141
|
142142
LL | 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

147147
error: any use of this value will cause an error
148148
--> $DIR/const-int-unchecked.rs:60:42
149149
|
150150
LL | 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

155155
error: any use of this value will cause an error
156156
--> $DIR/const-int-unchecked.rs:62:44
157157
|
158158
LL | 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

163163
error: any use of this value will cause an error
164164
--> $DIR/const-int-unchecked.rs:69:29
165165
|
166166
LL | 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

171171
error: any use of this value will cause an error
172172
--> $DIR/const-int-unchecked.rs:71:31
173173
|
174174
LL | 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

179179
error: any use of this value will cause an error
180180
--> $DIR/const-int-unchecked.rs:73:31
181181
|
182182
LL | 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

187187
error: any use of this value will cause an error
188188
--> $DIR/const-int-unchecked.rs:75:31
189189
|
190190
LL | 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

195195
error: any use of this value will cause an error
196196
--> $DIR/const-int-unchecked.rs:77:33
197197
|
198198
LL | 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

203203
error: any use of this value will cause an error
204204
--> $DIR/const-int-unchecked.rs:82:29
205205
|
206206
LL | 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

211211
error: any use of this value will cause an error
212212
--> $DIR/const-int-unchecked.rs:84:31
213213
|
214214
LL | 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

219219
error: any use of this value will cause an error
220220
--> $DIR/const-int-unchecked.rs:86:31
221221
|
222222
LL | 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

227227
error: any use of this value will cause an error
228228
--> $DIR/const-int-unchecked.rs:88:31
229229
|
230230
LL | 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

235235
error: any use of this value will cause an error
236236
--> $DIR/const-int-unchecked.rs:90:33
237237
|
238238
LL | 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

243243
error: any use of this value will cause an error
244244
--> $DIR/const-int-unchecked.rs:95:33
245245
|
246246
LL | 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

251251
error: any use of this value will cause an error
252252
--> $DIR/const-int-unchecked.rs:97:35
253253
|
254254
LL | 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

259259
error: any use of this value will cause an error
260260
--> $DIR/const-int-unchecked.rs:99:35
261261
|
262262
LL | 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

267267
error: any use of this value will cause an error
268268
--> $DIR/const-int-unchecked.rs:101:35
269269
|
270270
LL | 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

275275
error: any use of this value will cause an error
276276
--> $DIR/const-int-unchecked.rs:103:37
277277
|
278278
LL | 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

283283
error: any use of this value will cause an error
284284
--> $DIR/const-int-unchecked.rs:109:40
285285
|
286286
LL | 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

291291
error: any use of this value will cause an error
292292
--> $DIR/const-int-unchecked.rs:111:42
293293
|
294294
LL | 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

299299
error: any use of this value will cause an error
300300
--> $DIR/const-int-unchecked.rs:113:42
301301
|
302302
LL | 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

307307
error: any use of this value will cause an error
308308
--> $DIR/const-int-unchecked.rs:115:42
309309
|
310310
LL | 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

315315
error: any use of this value will cause an error
316316
--> $DIR/const-int-unchecked.rs:117:44
317317
|
318318
LL | 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

323323
error: aborting due to 40 previous errors
324324

0 commit comments

Comments
 (0)