rust/compiler/rustc_hir_analysis
Matthias Krüger 4ffb1a7f3d
Rollup merge of #120590 - compiler-errors:dead, r=Nilstrieb
Remove unused args from functions

`#[instrument]` suppresses the unused arguments from a function, *and* suppresses unused methods too! This PR removes things which are only used via `#[instrument]` calls, and fixes some other errors (privacy?) that I will comment inline.

It's possible that some of these arguments were being passed in for the purposes of being instrumented, but I am unconvinced by most of them.
2024-02-08 20:34:57 +01:00
..
2024-02-05 21:08:47 +00:00

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