mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
facc5da22c
Always consider `const _` items as live for dead code analysis
This PR alters dead code analysis to always consider `const _: () = { ... };` to be live.
This doesn't address the `_name` pattern from https://github.com/rust-lang/rust/issues/142075.
Fixes https://github.com/rust-lang/rust/issues/142104