mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 20:57:21 +00:00

Do not visit whole crate to compute `lints_that_dont_need_to_run`. This allows to reuse the computed lint levels instead of re-visiting the whole crate.
For more information about how rustc works, see the rustc dev guide.