rust/compiler/rustc_hir_analysis
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
..
2025-01-31 08:27:15 +11:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.