rust/compiler/rustc_borrowck/src/diagnostics
bors e9c965df7b Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errors
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.

r? `@compiler-errors`
2024-08-14 00:56:53 +00:00
..
bound_region_errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
conflict_errors.rs Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errors 2024-08-14 00:56:53 +00:00
explain_borrow.rs Use assert_matches around the compiler 2024-08-11 12:25:39 -04:00
find_all_local_uses.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
find_use.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
mod.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
move_errors.rs Rollup merge of #128244 - compiler-errors:move-clone-sugg, r=estebank 2024-07-31 23:20:11 +02:00
mutability_errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
outlives_suggestion.rs Use more slice patterns inside the compiler 2024-08-07 13:37:52 +02:00
region_errors.rs rustc_borrowck: fmt 2024-08-10 14:32:56 +03:00
region_name.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
var_name.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00