about summary refs log tree commit diff
path: root/compiler/rustc_session/src/options.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-05 18:10:21 +0000
committerbors <bors@rust-lang.org>2025-08-05 18:10:21 +0000
commitec7c02612527d185c379900b613311bc1dcbf7dc (patch)
tree4ef195c812eeaf34e8702be41b72d61bd36a38bb /compiler/rustc_session/src/options.rs
parent213d946a384b46989f6fd9c8ae9c547b4e354455 (diff)
parentd0da6ca110157dee080afc39ca55fb6a944a9e99 (diff)
downloadrust-ec7c02612527d185c379900b613311bc1dcbf7dc.tar.gz
rust-ec7c02612527d185c379900b613311bc1dcbf7dc.zip
Auto merge of #144863 - cjgillot:live-or-dead, r=Urgau
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.
Diffstat (limited to 'compiler/rustc_session/src/options.rs')
0 files changed, 0 insertions, 0 deletions