rust/compiler/rustc_lint/src
Nicholas Nethercote c4717cc9d1 Shrink TyKind::FnPtr.
By splitting the `FnSig` within `TyKind::FnPtr` into `FnSigTys` and
`FnHeader`, which can be packed more efficiently. This reduces the size
of the hot `TyKind` type from 32 bytes to 24 bytes on 64-bit platforms.
This reduces peak memory usage by a few percent on some benchmarks. It
also reduces cache misses and page faults similarly, though this doesn't
translate to clear cycles or wall-time improvements on CI.
2024-08-09 14:33:25 +10:00
..
context Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
nonstandard_style
async_closures.rs Make it into a structured suggestion, maybe-incorrect 2024-06-28 20:16:35 -04:00
async_fn_in_trait.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
builtin.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
context.rs Make Span optional in BufferedEarlyLint 2024-08-07 14:08:34 +02:00
deref_into_dyn_supertrait.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
drop_forget_useless.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
early.rs Make Span optional in BufferedEarlyLint 2024-08-07 14:08:34 +02:00
enum_intrinsics_non_enums.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
expect.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
for_loops_over_fallibles.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
foreign_modules.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
hidden_unicode_codepoints.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
impl_trait_overcaptures.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
internal.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
invalid_from_utf8.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
late.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
let_underscore.rs rustc_lint: make let-underscore-lock translatable 2024-07-30 00:34:27 +03:00
levels.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Rollup merge of #127907 - RalfJung:byte_slice_in_packed_struct_with_derive, r=nnethercote 2024-08-05 05:40:19 +02:00
lints.rs Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
macro_expr_fragment_specifier_2024_migration.rs Insert some blank lines. 2024-07-30 07:25:15 +10:00
map_unit_fn.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
methods.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
multiple_supertrait_upcastable.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
non_ascii_idents.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
non_fmt_panic.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
non_local_def.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
nonstandard_style.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
noop_method_call.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
opaque_hidden_inferred_bound.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
pass_by_value.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
passes.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
precedence.rs Temporarily switch ambiguous_negative_literals lint to allow 2024-07-31 19:36:47 +02:00
ptr_nulls.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
redundant_semicolon.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
reference_casting.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
shadowed_into_iter.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
traits.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
types.rs Shrink TyKind::FnPtr. 2024-08-09 14:33:25 +10:00
unit_bindings.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
unused.rs unused_parens: do not lint against parens around &raw 2024-08-07 15:29:00 +02:00