about summary refs log tree commit diff
path: root/tests/ui/lint/dead-code
AgeCommit message (Expand)AuthorLines
2025-08-10fix: re-enable self-assignmentLee ByeongJun-10/+51
2025-07-13Rollup merge of #143519 - mu001999-contrib:dead-code/impl-items, r=petrochenkovMatthias Krüger-0/+64
2025-07-10Check assoc consts and tys later like assoc fnsMu001999-0/+64
2025-07-07Make `Default` const and add some `const Default` implsEsteban Küber-2/+2
2025-06-14Marks ADT live if it appears in patternMu001999-8/+99
2025-06-09Always consider `const _` items as live for dead code analysisUrgau-0/+15
2025-05-29Add test for issue 127911 and 128839Mu001999-0/+50
2025-05-27Refactor the two-phase check for impls and impl itemsMu001999-0/+4
2025-04-19Cleaned up 4 tests in `tests/ui/issues`Spencer-0/+111
2025-04-13tests: convert `tests/ui/lint/dead-code/self-assign.rs` to known-bugJieyou Xu-54/+20
2025-03-21remove `feature(inline_const_pat)`lcnr-44/+0
2025-03-07tests: fix some typos in commenttcpdumppy-4/+4
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-2/+3
2025-01-29Add regression test showing we don't realize some consts are usedOli Scherer-7/+9
2025-01-21remove support for the #[start] attributeRalf Jung-16/+5
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-1/+0
2024-08-03Bless test falloutMichael Goulet-4/+8
2024-08-03Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-119/+10
2024-08-03Revert "Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkov"Michael Goulet-33/+0
2024-08-03Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-31/+0
2024-08-03Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix"Michael Goulet-135/+18
2024-08-03Revert "Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-65/+0
2024-08-03Revert "Rollup merge of #128104 - mu001999-contrib:fix/128053, r=petrochenkov"Michael Goulet-49/+0
2024-07-29Rollup merge of #128284 - GKFX:stabilize-offset-of-nested, r=dtolnay,jieyouxuMatthias Krüger-8/+6
2024-07-29Stabilize offset_of_nestedGeorge Bateman-8/+6
2024-07-26Not lint pub structs without pub constructors if containing fields of unit, n...mu001999-0/+49
2024-07-26Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pnkfelixTrevor Gross-0/+65
2024-07-05Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelixMichael Goulet-18/+135
2024-07-04Improve dead code analysismu001999-18/+135
2024-06-27Extend rules of dead code analysis for impls for adts to impls for types refe...mu001999-0/+65
2024-06-26Auto merge of #120924 - xFrednet:rfc-2383-stabilization-party, r=Urgau,blyxyasbors-5/+2
2024-06-25Auto merge of #126951 - matthiaskrgr:rollup-xg0o4mc, r=matthiaskrgrbors-0/+31
2024-06-25Rollup merge of #126302 - mu001999-contrib:ignore/default, r=michaelwoeristerMatthias Krüger-0/+49
2024-06-25Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelixMatthias Krüger-0/+31
2024-06-25Detect unused structs which derived Defaultmu001999-0/+49
2024-06-25RFC 2383: Stabilize `lint_reasons` :tada:xFrednet-5/+2
2024-06-24Rollup merge of #124460 - long-long-float:show-notice-about-enum-with-debug, ...Michael Goulet-1/+36
2024-06-19Rollup merge of #124580 - gurry:124556-suggest-remove-tuple-field, r=jackh726León Orell Valerian Liehr-26/+42
2024-06-18Mark assoc tys live only if the trait is livemu001999-0/+31
2024-06-16Show notice about "never used" for enumlong-long-float-1/+36
2024-06-13Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkovMatthias Krüger-0/+33
2024-06-12Detect pub structs never constructed even though they impl pub trait with ass...r0cky-0/+78
2024-06-12Add pub struct with allow(dead_code) into worklistr0cky-0/+33
2024-06-05Detect pub structs never constructed and unused associated constants in traitsr0cky-10/+119
2024-05-23Detect unused structs which implement private traitsr0cky-0/+48
2024-05-13Suggest removing unused tuple fields if they are the last fieldsGurinder Singh-26/+42
2024-03-12Replace visibility test with reachability test in dead code detectionArthur Carcano-0/+27
2024-03-10Detect unused struct impls pub traitr0cky-4/+31
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-26/+26
2024-02-07Update testsr0cky-11/+5