mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
ec7c026125
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.