@@ -4,7 +4,7 @@ error: any use of this value will cause an error
4
4
LL | const SHL_U8: u8 = unsafe { intrinsics::unchecked_shl(5_u8, 8) };
5
5
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
6
6
| |
7
- | Overflowing shift by 8 in unchecked_shl
7
+ | Overflowing shift by 8 in ` unchecked_shl`
8
8
|
9
9
= note: `#[deny(const_err)]` on by default
10
10
@@ -14,311 +14,311 @@ error: any use of this value will cause an error
14
14
LL | const SHL_U16: u16 = unsafe { intrinsics::unchecked_shl(5_u16, 16) };
15
15
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
16
16
| |
17
- | Overflowing shift by 16 in unchecked_shl
17
+ | Overflowing shift by 16 in ` unchecked_shl`
18
18
19
19
error: any use of this value will cause an error
20
20
--> $DIR/const-int-unchecked.rs:18:31
21
21
|
22
22
LL | const SHL_U32: u32 = unsafe { intrinsics::unchecked_shl(5_u32, 32) };
23
23
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
24
24
| |
25
- | Overflowing shift by 32 in unchecked_shl
25
+ | Overflowing shift by 32 in ` unchecked_shl`
26
26
27
27
error: any use of this value will cause an error
28
28
--> $DIR/const-int-unchecked.rs:20:31
29
29
|
30
30
LL | const SHL_U64: u64 = unsafe { intrinsics::unchecked_shl(5_u64, 64) };
31
31
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
32
32
| |
33
- | Overflowing shift by 64 in unchecked_shl
33
+ | Overflowing shift by 64 in ` unchecked_shl`
34
34
35
35
error: any use of this value will cause an error
36
36
--> $DIR/const-int-unchecked.rs:22:33
37
37
|
38
38
LL | const SHL_U128: u128 = unsafe { intrinsics::unchecked_shl(5_u128, 128) };
39
39
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
40
40
| |
41
- | Overflowing shift by 128 in unchecked_shl
41
+ | Overflowing shift by 128 in ` unchecked_shl`
42
42
43
43
error: any use of this value will cause an error
44
44
--> $DIR/const-int-unchecked.rs:27:29
45
45
|
46
46
LL | const SHL_I8: i8 = unsafe { intrinsics::unchecked_shl(5_i8, 8) };
47
47
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
48
48
| |
49
- | Overflowing shift by 8 in unchecked_shl
49
+ | Overflowing shift by 8 in ` unchecked_shl`
50
50
51
51
error: any use of this value will cause an error
52
52
--> $DIR/const-int-unchecked.rs:29:31
53
53
|
54
54
LL | const SHL_I16: i16 = unsafe { intrinsics::unchecked_shl(5_16, 16) };
55
55
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
56
56
| |
57
- | Overflowing shift by 16 in unchecked_shl
57
+ | Overflowing shift by 16 in ` unchecked_shl`
58
58
59
59
error: any use of this value will cause an error
60
60
--> $DIR/const-int-unchecked.rs:31:31
61
61
|
62
62
LL | const SHL_I32: i32 = unsafe { intrinsics::unchecked_shl(5_i32, 32) };
63
63
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
64
64
| |
65
- | Overflowing shift by 32 in unchecked_shl
65
+ | Overflowing shift by 32 in ` unchecked_shl`
66
66
67
67
error: any use of this value will cause an error
68
68
--> $DIR/const-int-unchecked.rs:33:31
69
69
|
70
70
LL | const SHL_I64: i64 = unsafe { intrinsics::unchecked_shl(5_i64, 64) };
71
71
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
72
72
| |
73
- | Overflowing shift by 64 in unchecked_shl
73
+ | Overflowing shift by 64 in ` unchecked_shl`
74
74
75
75
error: any use of this value will cause an error
76
76
--> $DIR/const-int-unchecked.rs:35:33
77
77
|
78
78
LL | const SHL_I128: i128 = unsafe { intrinsics::unchecked_shl(5_i128, 128) };
79
79
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
80
80
| |
81
- | Overflowing shift by 128 in unchecked_shl
81
+ | Overflowing shift by 128 in ` unchecked_shl`
82
82
83
83
error: any use of this value will cause an error
84
84
--> $DIR/const-int-unchecked.rs:40:33
85
85
|
86
86
LL | const SHL_I8_NEG: i8 = unsafe { intrinsics::unchecked_shl(5_i8, -1) };
87
87
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
88
88
| |
89
- | Overflowing shift by 255 in unchecked_shl
89
+ | Overflowing shift by 255 in ` unchecked_shl`
90
90
91
91
error: any use of this value will cause an error
92
92
--> $DIR/const-int-unchecked.rs:42:35
93
93
|
94
94
LL | const SHL_I16_NEG: i16 = unsafe { intrinsics::unchecked_shl(5_16, -1) };
95
95
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
96
96
| |
97
- | Overflowing shift by 65535 in unchecked_shl
97
+ | Overflowing shift by 65535 in ` unchecked_shl`
98
98
99
99
error: any use of this value will cause an error
100
100
--> $DIR/const-int-unchecked.rs:44:35
101
101
|
102
102
LL | const SHL_I32_NEG: i32 = unsafe { intrinsics::unchecked_shl(5_i32, -1) };
103
103
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
104
104
| |
105
- | Overflowing shift by 4294967295 in unchecked_shl
105
+ | Overflowing shift by 4294967295 in ` unchecked_shl`
106
106
107
107
error: any use of this value will cause an error
108
108
--> $DIR/const-int-unchecked.rs:46:35
109
109
|
110
110
LL | const SHL_I64_NEG: i64 = unsafe { intrinsics::unchecked_shl(5_i64, -1) };
111
111
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
112
112
| |
113
- | Overflowing shift by 18446744073709551615 in unchecked_shl
113
+ | Overflowing shift by 18446744073709551615 in ` unchecked_shl`
114
114
115
115
error: any use of this value will cause an error
116
116
--> $DIR/const-int-unchecked.rs:48:37
117
117
|
118
118
LL | const SHL_I128_NEG: i128 = unsafe { intrinsics::unchecked_shl(5_i128, -1) };
119
119
| ------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
120
120
| |
121
- | Overflowing shift by 340282366920938463463374607431768211455 in unchecked_shl
121
+ | Overflowing shift by 340282366920938463463374607431768211455 in ` unchecked_shl`
122
122
123
123
error: any use of this value will cause an error
124
124
--> $DIR/const-int-unchecked.rs:54:40
125
125
|
126
126
LL | const SHL_I8_NEG_RANDOM: i8 = unsafe { intrinsics::unchecked_shl(5_i8, -6) };
127
127
| ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
128
128
| |
129
- | Overflowing shift by 250 in unchecked_shl
129
+ | Overflowing shift by 250 in ` unchecked_shl`
130
130
131
131
error: any use of this value will cause an error
132
132
--> $DIR/const-int-unchecked.rs:56:42
133
133
|
134
134
LL | const SHL_I16_NEG_RANDOM: i16 = unsafe { intrinsics::unchecked_shl(5_16, -13) };
135
135
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
136
136
| |
137
- | Overflowing shift by 65523 in unchecked_shl
137
+ | Overflowing shift by 65523 in ` unchecked_shl`
138
138
139
139
error: any use of this value will cause an error
140
140
--> $DIR/const-int-unchecked.rs:58:42
141
141
|
142
142
LL | const SHL_I32_NEG_RANDOM: i32 = unsafe { intrinsics::unchecked_shl(5_i32, -25) };
143
143
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
144
144
| |
145
- | Overflowing shift by 4294967271 in unchecked_shl
145
+ | Overflowing shift by 4294967271 in ` unchecked_shl`
146
146
147
147
error: any use of this value will cause an error
148
148
--> $DIR/const-int-unchecked.rs:60:42
149
149
|
150
150
LL | const SHL_I64_NEG_RANDOM: i64 = unsafe { intrinsics::unchecked_shl(5_i64, -30) };
151
151
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
152
152
| |
153
- | Overflowing shift by 18446744073709551586 in unchecked_shl
153
+ | Overflowing shift by 18446744073709551586 in ` unchecked_shl`
154
154
155
155
error: any use of this value will cause an error
156
156
--> $DIR/const-int-unchecked.rs:62:44
157
157
|
158
158
LL | const SHL_I128_NEG_RANDOM: i128 = unsafe { intrinsics::unchecked_shl(5_i128, -93) };
159
159
| -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
160
160
| |
161
- | Overflowing shift by 340282366920938463463374607431768211363 in unchecked_shl
161
+ | Overflowing shift by 340282366920938463463374607431768211363 in ` unchecked_shl`
162
162
163
163
error: any use of this value will cause an error
164
164
--> $DIR/const-int-unchecked.rs:69:29
165
165
|
166
166
LL | const SHR_U8: u8 = unsafe { intrinsics::unchecked_shr(5_u8, 8) };
167
167
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
168
168
| |
169
- | Overflowing shift by 8 in unchecked_shr
169
+ | Overflowing shift by 8 in ` unchecked_shr`
170
170
171
171
error: any use of this value will cause an error
172
172
--> $DIR/const-int-unchecked.rs:71:31
173
173
|
174
174
LL | const SHR_U16: u16 = unsafe { intrinsics::unchecked_shr(5_u16, 16) };
175
175
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
176
176
| |
177
- | Overflowing shift by 16 in unchecked_shr
177
+ | Overflowing shift by 16 in ` unchecked_shr`
178
178
179
179
error: any use of this value will cause an error
180
180
--> $DIR/const-int-unchecked.rs:73:31
181
181
|
182
182
LL | const SHR_U32: u32 = unsafe { intrinsics::unchecked_shr(5_u32, 32) };
183
183
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
184
184
| |
185
- | Overflowing shift by 32 in unchecked_shr
185
+ | Overflowing shift by 32 in ` unchecked_shr`
186
186
187
187
error: any use of this value will cause an error
188
188
--> $DIR/const-int-unchecked.rs:75:31
189
189
|
190
190
LL | const SHR_U64: u64 = unsafe { intrinsics::unchecked_shr(5_u64, 64) };
191
191
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
192
192
| |
193
- | Overflowing shift by 64 in unchecked_shr
193
+ | Overflowing shift by 64 in ` unchecked_shr`
194
194
195
195
error: any use of this value will cause an error
196
196
--> $DIR/const-int-unchecked.rs:77:33
197
197
|
198
198
LL | const SHR_U128: u128 = unsafe { intrinsics::unchecked_shr(5_u128, 128) };
199
199
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
200
200
| |
201
- | Overflowing shift by 128 in unchecked_shr
201
+ | Overflowing shift by 128 in ` unchecked_shr`
202
202
203
203
error: any use of this value will cause an error
204
204
--> $DIR/const-int-unchecked.rs:82:29
205
205
|
206
206
LL | const SHR_I8: i8 = unsafe { intrinsics::unchecked_shr(5_i8, 8) };
207
207
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
208
208
| |
209
- | Overflowing shift by 8 in unchecked_shr
209
+ | Overflowing shift by 8 in ` unchecked_shr`
210
210
211
211
error: any use of this value will cause an error
212
212
--> $DIR/const-int-unchecked.rs:84:31
213
213
|
214
214
LL | const SHR_I16: i16 = unsafe { intrinsics::unchecked_shr(5_16, 16) };
215
215
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
216
216
| |
217
- | Overflowing shift by 16 in unchecked_shr
217
+ | Overflowing shift by 16 in ` unchecked_shr`
218
218
219
219
error: any use of this value will cause an error
220
220
--> $DIR/const-int-unchecked.rs:86:31
221
221
|
222
222
LL | const SHR_I32: i32 = unsafe { intrinsics::unchecked_shr(5_i32, 32) };
223
223
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
224
224
| |
225
- | Overflowing shift by 32 in unchecked_shr
225
+ | Overflowing shift by 32 in ` unchecked_shr`
226
226
227
227
error: any use of this value will cause an error
228
228
--> $DIR/const-int-unchecked.rs:88:31
229
229
|
230
230
LL | const SHR_I64: i64 = unsafe { intrinsics::unchecked_shr(5_i64, 64) };
231
231
| ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
232
232
| |
233
- | Overflowing shift by 64 in unchecked_shr
233
+ | Overflowing shift by 64 in ` unchecked_shr`
234
234
235
235
error: any use of this value will cause an error
236
236
--> $DIR/const-int-unchecked.rs:90:33
237
237
|
238
238
LL | const SHR_I128: i128 = unsafe { intrinsics::unchecked_shr(5_i128, 128) };
239
239
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
240
240
| |
241
- | Overflowing shift by 128 in unchecked_shr
241
+ | Overflowing shift by 128 in ` unchecked_shr`
242
242
243
243
error: any use of this value will cause an error
244
244
--> $DIR/const-int-unchecked.rs:95:33
245
245
|
246
246
LL | const SHR_I8_NEG: i8 = unsafe { intrinsics::unchecked_shr(5_i8, -1) };
247
247
| --------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
248
248
| |
249
- | Overflowing shift by 255 in unchecked_shr
249
+ | Overflowing shift by 255 in ` unchecked_shr`
250
250
251
251
error: any use of this value will cause an error
252
252
--> $DIR/const-int-unchecked.rs:97:35
253
253
|
254
254
LL | const SHR_I16_NEG: i16 = unsafe { intrinsics::unchecked_shr(5_16, -1) };
255
255
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
256
256
| |
257
- | Overflowing shift by 65535 in unchecked_shr
257
+ | Overflowing shift by 65535 in ` unchecked_shr`
258
258
259
259
error: any use of this value will cause an error
260
260
--> $DIR/const-int-unchecked.rs:99:35
261
261
|
262
262
LL | const SHR_I32_NEG: i32 = unsafe { intrinsics::unchecked_shr(5_i32, -1) };
263
263
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
264
264
| |
265
- | Overflowing shift by 4294967295 in unchecked_shr
265
+ | Overflowing shift by 4294967295 in ` unchecked_shr`
266
266
267
267
error: any use of this value will cause an error
268
268
--> $DIR/const-int-unchecked.rs:101:35
269
269
|
270
270
LL | const SHR_I64_NEG: i64 = unsafe { intrinsics::unchecked_shr(5_i64, -1) };
271
271
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
272
272
| |
273
- | Overflowing shift by 18446744073709551615 in unchecked_shr
273
+ | Overflowing shift by 18446744073709551615 in ` unchecked_shr`
274
274
275
275
error: any use of this value will cause an error
276
276
--> $DIR/const-int-unchecked.rs:103:37
277
277
|
278
278
LL | const SHR_I128_NEG: i128 = unsafe { intrinsics::unchecked_shr(5_i128, -1) };
279
279
| ------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
280
280
| |
281
- | Overflowing shift by 340282366920938463463374607431768211455 in unchecked_shr
281
+ | Overflowing shift by 340282366920938463463374607431768211455 in ` unchecked_shr`
282
282
283
283
error: any use of this value will cause an error
284
284
--> $DIR/const-int-unchecked.rs:109:40
285
285
|
286
286
LL | const SHR_I8_NEG_RANDOM: i8 = unsafe { intrinsics::unchecked_shr(5_i8, -6) };
287
287
| ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
288
288
| |
289
- | Overflowing shift by 250 in unchecked_shr
289
+ | Overflowing shift by 250 in ` unchecked_shr`
290
290
291
291
error: any use of this value will cause an error
292
292
--> $DIR/const-int-unchecked.rs:111:42
293
293
|
294
294
LL | const SHR_I16_NEG_RANDOM: i16 = unsafe { intrinsics::unchecked_shr(5_16, -13) };
295
295
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
296
296
| |
297
- | Overflowing shift by 65523 in unchecked_shr
297
+ | Overflowing shift by 65523 in ` unchecked_shr`
298
298
299
299
error: any use of this value will cause an error
300
300
--> $DIR/const-int-unchecked.rs:113:42
301
301
|
302
302
LL | const SHR_I32_NEG_RANDOM: i32 = unsafe { intrinsics::unchecked_shr(5_i32, -25) };
303
303
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
304
304
| |
305
- | Overflowing shift by 4294967271 in unchecked_shr
305
+ | Overflowing shift by 4294967271 in ` unchecked_shr`
306
306
307
307
error: any use of this value will cause an error
308
308
--> $DIR/const-int-unchecked.rs:115:42
309
309
|
310
310
LL | const SHR_I64_NEG_RANDOM: i64 = unsafe { intrinsics::unchecked_shr(5_i64, -30) };
311
311
| -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
312
312
| |
313
- | Overflowing shift by 18446744073709551586 in unchecked_shr
313
+ | Overflowing shift by 18446744073709551586 in ` unchecked_shr`
314
314
315
315
error: any use of this value will cause an error
316
316
--> $DIR/const-int-unchecked.rs:117:44
317
317
|
318
318
LL | const SHR_I128_NEG_RANDOM: i128 = unsafe { intrinsics::unchecked_shr(5_i128, -93) };
319
319
| -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
320
320
| |
321
- | Overflowing shift by 340282366920938463463374607431768211363 in unchecked_shr
321
+ | Overflowing shift by 340282366920938463463374607431768211363 in ` unchecked_shr`
322
322
323
323
error: aborting due to 40 previous errors
324
324
0 commit comments