mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-25 06:32:04 +00:00
Simplify dead code lint This PR scratches a few itches I had when looking at that code. The perf improvement comes from keeping the `scanned` set through several marking phases. This pretty much divides by 2 the number of HIR traversals.
For more information about how rustc works, see the rustc dev guide.