rust/compiler/rustc_hir_analysis/src
Nicholas Nethercote 969d9336ca Remove unnecessary builders.
`delegation.rs` has three builders: `GenericsBuilder`,
`PredicatesBuilder`, and `GenericArgsBuilder`. The first two builders
have just two optional parameters, and the third one has zero. Each
builder is used within a single function. The code is over-engineered.

This commit removes the builders, replacing each with with a single
`build_*` function. This makes the code shorter and simpler.
2025-01-31 08:27:15 +11:00
..
check Remove an out-of-date FIXME comment. 2025-01-31 08:27:15 +11:00
coherence Merge two match arms that are identical. 2025-01-31 08:27:15 +11:00
collect Make item self/non-self bound naming less whack 2025-01-28 19:08:50 +00:00
errors Remove redundant to_ident_string calls 2025-01-27 01:23:34 +00:00
hir_ty_lowering Eliminate PatKind::Path 2025-01-29 15:45:13 +00:00
impl_wf_check Consolidate OutlivesEnv construction with resolve_regions 2025-01-28 18:55:03 +00:00
outlives Implement const effect predicate in new solver 2024-10-24 09:46:36 +00:00
variance Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
autoderef.rs Rename structurally_normalize to structurally_normalize_ty 2025-01-22 07:04:53 +00:00
bounds.rs Merge HostPolarity and BoundConstness 2024-10-30 16:23:16 +00:00
check_unused.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
collect.rs Make item self/non-self bound naming less whack 2025-01-28 19:08:50 +00:00
constrained_generic_params.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
delegation.rs Remove unnecessary builders. 2025-01-31 08:27:15 +11:00
errors.rs Use identifiers in diagnostics more often 2025-01-27 01:23:34 +00:00
hir_wf_check.rs visit_x_unambig 2025-01-23 06:01:36 +00:00
impl_wf_check.rs Use identifiers in diagnostics more often 2025-01-27 01:23:34 +00:00
lib.rs use fmt::from_fn in more places, instead of using structs that impl formatting traits 2025-01-24 14:45:56 +00:00