Skip to content

Commit eee76d9

Browse files
authored
Rollup merge of rust-lang#115177 - c410-f3r:symbols, r=compiler-errors
Add symbols for Clippy usage The `arithmetic_side_effects` lint is always "interning" these non-existing symbols related to math operations causing a bit of a slowdown.
2 parents 0c1f9c8 + c6ba5d9 commit eee76d9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

compiler/rustc_span/src/symbol.rs

+8
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,13 @@ symbols! {
232232
NonZeroI32,
233233
NonZeroI64,
234234
NonZeroI8,
235+
NonZeroIsize,
235236
NonZeroU128,
236237
NonZeroU16,
237238
NonZeroU32,
238239
NonZeroU64,
239240
NonZeroU8,
241+
NonZeroUsize,
240242
None,
241243
Ok,
242244
Option,
@@ -278,6 +280,7 @@ symbols! {
278280
RwLock,
279281
RwLockReadGuard,
280282
RwLockWriteGuard,
283+
Saturating,
281284
Send,
282285
SeqCst,
283286
SliceIndex,
@@ -305,6 +308,7 @@ symbols! {
305308
Vec,
306309
VecDeque,
307310
Wrapper,
311+
Wrapping,
308312
Yield,
309313
_DECLS,
310314
_Self,
@@ -1373,6 +1377,7 @@ symbols! {
13731377
sanitizer_cfi_normalize_integers,
13741378
sanitizer_runtime,
13751379
saturating_add,
1380+
saturating_div,
13761381
saturating_sub,
13771382
self_in_typedefs,
13781383
self_struct_ctor,
@@ -1691,7 +1696,10 @@ symbols! {
16911696
windows_subsystem,
16921697
with_negative_coherence,
16931698
wrapping_add,
1699+
wrapping_div,
16941700
wrapping_mul,
1701+
wrapping_rem,
1702+
wrapping_rem_euclid,
16951703
wrapping_sub,
16961704
wreg,
16971705
write_bytes,

0 commit comments

Comments
 (0)