about summary refs log tree commit diff
path: root/src/test/ui/lint/dead-code
AgeCommit message (Expand)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-1735/+0
2022-10-24Port `dead_code` lints to be translatable.Charles Lew-4/+4
2022-10-01bless ui testsMaybe Waffle-11/+11
2022-08-03Warn about dead tuple struct fieldsFabian Wolff-6/+64
2022-06-22Rewrite dead-code pass to avoid fetching HIR.Camille GILLOT-30/+53
2022-06-22Uniform spans in dead code lint.Camille GILLOT-40/+36
2022-06-19collapse dead code warnings into a single diagnosticTakayuki Maeda-166/+252
2022-06-02don't use a `span_note` for ignored implslcnr-6/+1
2022-05-21Remove `crate` visibility modifier in libs, testsJacob Pratt-15/+14
2022-05-10Add regression test for #68408Yuki Okushi-0/+22
2022-02-01Make dead code check a query.Camille GILLOT-10/+10
2022-01-15Use span of ignored impls for explanatory noteFabian Wolff-4/+5
2022-01-11Annotate dead code lint with notes about ignored derived implsFabian Wolff-0/+5
2021-11-22Split inline const to two feature gatesGary Guo-1/+1
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