summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
2021-05-04Revert PR 81473 to resolve (on beta) issues 81626 and 81658.Felix S. Klock II-21/+0
2021-04-29Implement RFC 1260 with feature_name `imported_main`.Charles Lew-1/+3
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-5/+5
2021-03-09Access attrs directly from HirId in rustc_passes::dead.Camille GILLOT-23/+9
2021-02-19Consider auto derefs before warning about write only fieldsTomasz Miąsko-11/+17
2021-02-15Only store a LocalDefId in hir::ForeignItem.Camille GILLOT-5/+9
2021-02-15Only store a LocalDefId in hir::ImplItem.Camille GILLOT-6/+6
2021-02-15Only store a LocalDefId in hir::TraitItem.Camille GILLOT-2/+2
2021-02-15Only store a LocalDefId in hir::Item.Camille GILLOT-8/+8
2021-02-15Use ItemId as a strongly typed index.Camille GILLOT-1/+1
2021-01-28Add missing braceOli Scherer-1/+1
2021-01-29Simplify base_exprSeo Sanghyeon-8/+4
2021-01-28Warn write-only fieldsSeo Sanghyeon-0/+19
2021-01-23Do not mark unit variants as used when in path patternTomasz Miąsko-1/+1
2021-01-12Separate out a `hir::Impl` structJoshua Nelson-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-19/+19
2020-12-08Simplify visit_{foreign,trait}_itemLingMan-20/+10
2020-12-08Visit ForeignItems when marking dead code.Camille GILLOT-21/+25
2020-11-26Remove ForeignMod struct.Camille GILLOT-1/+1
2020-11-26Store ForeignItem in a side table.Camille GILLOT-0/+2
2020-10-18Remove weird slice conversionDániel Buga-1/+1
2020-10-18Clean up surprising borrowDániel Buga-2/+2
2020-09-22dead_code: look at trait impls even if they don't contain itemsBastian Kauschke-1/+4
2020-09-13allow concrete self types in constsBastian Kauschke-1/+1
2020-09-04Change ty.kind to a methodLeSeulArtichaut-3/+3
2020-08-30mv compiler to compiler/mark-0/+704