rust/tests
Jonathan Brouwer 8b1bf8af85
Rollup merge of #144113 - mu001999-contrib:dead-code/allow-trait, r=jdonszelmann
Impls and impl items inherit `dead_code` lint level of the corresponding traits and trait items

https://github.com/rust-lang/rust/blob/master/compiler/rustc_passes/src/dead.rs#L360-L361 won't insert assoc items into the live set, so that impl items cannot be marked live.

This PR lets impls and impl items can inherit lint levels of the corresponding traits and trait items.

Fixes rust-lang/rust#144060

r? ````@petrochenkov````
2026-01-06 16:19:39 +01:00
..
assembly-llvm Nvptx: Use llbc as default linker 2025-12-19 21:39:48 +01:00
auxiliary Rework c_variadic 2025-12-04 10:51:34 +01:00
codegen-llvm Rollup merge of #150426 - ZuseZ4:offload-register-lib, r=davidtwco 2026-01-04 21:14:05 +01:00
codegen-units address review comments; fix CI 2026-01-01 19:17:11 -05:00
coverage Create place and value indices on-demand. 2025-12-14 16:33:24 +00:00
coverage-run-rustdoc
crashes Auto merge of #150640 - AprilNEA:mgca-merge-associated-const-equality, r=BoxyUwU 2026-01-06 01:36:53 +00:00
debuginfo tests/debuginfo/macro-stepping.rs: Add revisions default-mir-passes, no-SingleUseConsts-mir-pass 2025-12-23 15:33:56 +01:00
incremental Add unsafe to no_mangle incremental tests 2025-12-03 17:00:22 +01:00
mir-opt fix rustfmt and bless tidy/tests 2026-01-01 19:17:11 -05:00
pretty Recursive delegation improvements 2025-12-25 14:49:01 +03:00
run-make Rollup merge of #150558 - estebank:multiple-dep-versions, r=jieyouxu 2026-01-03 10:09:29 +01:00
run-make-cargo tests/run-make-cargo/same-crate-name-and-macro-name: New regression test 2025-12-17 11:21:27 +01:00
rustdoc Merge associated_const_equality feature gate into MGCA 2026-01-05 12:31:42 +08:00
rustdoc-gui Fix changes coming from browser-ui-test version update 2026-01-02 20:21:44 +01:00
rustdoc-js Auto merge of #149370 - Zalathar:rollup-6fkk5x4, r=Zalathar 2025-11-27 07:30:25 +00:00
rustdoc-js-std std: Use more unix.rs code on WASI targets 2025-12-08 06:46:28 -08:00
rustdoc-json Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-ui Merge associated_const_equality feature gate into MGCA 2026-01-05 12:31:42 +08:00
ui Rollup merge of #144113 - mu001999-contrib:dead-code/allow-trait, r=jdonszelmann 2026-01-06 16:19:39 +01:00
ui-fulldeps lexer/parser: ensure deps use the same unicode version 2025-12-27 11:20:42 +01:00
COMPILER_TESTS.md