Files
rust/compiler/rustc_passes
Jonathan Brouwer e869b5a8d4 Rollup merge of #161932 - mu001999-contrib:dead-code-refactor, r=chenyukang
Only check `#[allow(dead_code)]` on the trait

I edited on an old branch (on another machine) when trying to resolve the first comment in https://github.com/rust-lang/rust/pull/161571, and then force-pushed it. So it introduced the behavior in https://github.com/rust-lang/rust/pull/157885 partially.

I found this when rebasing https://github.com/rust-lang/rust/pull/157885, and I was expecting a conflict about this.

r? chenyukang
2026-09-08 15:58:16 +02:00
..
2026-08-21 10:35:02 +02:00