Rollup merge of #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.
This commit is contained in:
Weihang Lo 2023-08-24 22:54:00 +01:00 committed by GitHub
commit eee76d9555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,11 +232,13 @@ symbols! {
NonZeroI32, NonZeroI32,
NonZeroI64, NonZeroI64,
NonZeroI8, NonZeroI8,
NonZeroIsize,
NonZeroU128, NonZeroU128,
NonZeroU16, NonZeroU16,
NonZeroU32, NonZeroU32,
NonZeroU64, NonZeroU64,
NonZeroU8, NonZeroU8,
NonZeroUsize,
None, None,
Ok, Ok,
Option, Option,
@ -278,6 +280,7 @@ symbols! {
RwLock, RwLock,
RwLockReadGuard, RwLockReadGuard,
RwLockWriteGuard, RwLockWriteGuard,
Saturating,
Send, Send,
SeqCst, SeqCst,
SliceIndex, SliceIndex,
@ -305,6 +308,7 @@ symbols! {
Vec, Vec,
VecDeque, VecDeque,
Wrapper, Wrapper,
Wrapping,
Yield, Yield,
_DECLS, _DECLS,
_Self, _Self,
@ -1373,6 +1377,7 @@ symbols! {
sanitizer_cfi_normalize_integers, sanitizer_cfi_normalize_integers,
sanitizer_runtime, sanitizer_runtime,
saturating_add, saturating_add,
saturating_div,
saturating_sub, saturating_sub,
self_in_typedefs, self_in_typedefs,
self_struct_ctor, self_struct_ctor,
@ -1691,7 +1696,10 @@ symbols! {
windows_subsystem, windows_subsystem,
with_negative_coherence, with_negative_coherence,
wrapping_add, wrapping_add,
wrapping_div,
wrapping_mul, wrapping_mul,
wrapping_rem,
wrapping_rem_euclid,
wrapping_sub, wrapping_sub,
wreg, wreg,
write_bytes, write_bytes,