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.
This commit is contained in:
bors 2025-08-05 18:10:21 +00:00
commit f06a604c98

Diff Content Not Available