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