summary refs log tree commit diff
path: root/src/test/ui/lint/dead-code
AgeCommit message (Expand)AuthorLines
2021-08-24Auto merge of #85556 - FabianWolff:issue-85071, r=estebank,jackh726bors-0/+109
2021-08-15Add a dead code test for using anon const in patternGary Guo-0/+45
2021-07-21temporarily ignore a test until we reland PR 83171.Felix S. Klock II-0/+2
2021-07-21Revert PR 81473 to resolve (on mainline) issues 81626 and 81658.Felix S. Klock II-113/+0
2021-07-14Warn about useless assignments of variables/fields to themselvesFabian Wolff-0/+94
2021-05-21Warn about unreachable code following an expression with an uninhabited typeFabian Wolff-0/+109
2021-05-16More tests for issue-85255hi-rustin-5/+82
2021-05-15Warn about unused pub fields in non-pub structsFabian Wolff-0/+54
2021-04-16Remove #[main] attribute.Charles Lew-2/+2
2021-02-19Consider auto derefs before warning about write only fieldsTomasz Miąsko-1/+68
2021-01-28Warn write-only fieldsSeo Sanghyeon-0/+46
2021-01-23Do not mark unit variants as used when in path patternTomasz Miąsko-1/+40
2021-01-13Update tests for extern block lintingMark Rousskov-5/+5
2020-12-08Visit ForeignItems when marking dead code.Camille GILLOT-0/+19
2020-09-22dead_code: look at trait impls even if they don't contain itemsBastian Kauschke-0/+19
2020-06-28Rename the lint to clashing_extern_declarations.jumbatm-1/+1
2020-06-20Update existing test cases.jumbatm-6/+7
2020-05-06Dead-code pass highlights too much of impl functionsmibac138-2/+54
2020-04-24Remove redundant `descr`/`descriptive_variant` methods from HIR.Eduard-Mihai Burtescu-8/+8
2020-04-19test for false "never constructed" warnings for `Self::` variant pathsjakubadamw-1/+21
2020-01-31Auto merge of #68080 - varkor:declared-here, r=petrochenkovbors-14/+14
2020-01-24Normalise notes with the/isvarkor-14/+14
2020-01-23Use check-pass mode for lint testsTomasz Miąsko-1/+1
2019-11-16Use "field is never read" instead of "field is never used"cosine-10/+10
2019-10-26Use ident instead of def_span in dead-code passPi Lanningham-42/+87
2019-10-26Move dead_code related tests to test/ui/dead-codePi Lanningham-0/+974