about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
2025-09-12Introduce hir::ImplItemImplKindCameron Steffen-18/+14
2025-09-12Introduce trait_item_ofCameron Steffen-7/+5
2025-08-26add a flag to codegen fn attrs for foreign itemsJana Dönszelmann-1/+1
2025-08-23Auto merge of #145506 - cjgillot:live-or-dead-onescan, r=fee1-deadbors-13/+16
2025-08-16Only scan each definition once.Camille GILLOT-13/+16
2025-08-13Cleanup assoc parent utilsCameron Steffen-1/+1
2025-08-12Auto merge of #144678 - jdonszelmann:no-mangle-extern, r=bjorn3bors-1/+1
2025-08-12make no_mangle explicit on foreign itemsJana Dönszelmann-1/+1
2025-08-10fix: re-enable self-assignmentLee ByeongJun-2/+4
2025-08-04Update doc-comment.Camille GILLOT-4/+3
2025-08-04Simplify maybe_record_as_seed.Camille GILLOT-3/+3
2025-08-03Simplify lint emission.Camille GILLOT-74/+56
2025-08-03Keep scanned set across calls to mark_live_symbols.Camille GILLOT-2/+3
2025-08-03Use less HIR when seeding work list.Camille GILLOT-90/+50
2025-08-03Simplify handling of unsolved items.Camille GILLOT-52/+38
2025-08-03Remove struct_constructors.Camille GILLOT-34/+12
2025-08-02Use DefKind in should_explore.Camille GILLOT-10/+34
2025-08-02Do not record derived impl def-id for dead code.Camille GILLOT-14/+9
2025-07-28Rename impl_of_method -> impl_of_assocCameron Steffen-1/+1
2025-07-28Rename trait_of_item -> trait_of_assocCameron Steffen-1/+1
2025-07-13Auto merge of #143357 - cjgillot:no-assoc-item-kind, r=compiler-errorsbors-2/+2
2025-07-13Retire hir::*ItemRef.Camille GILLOT-2/+2
2025-07-13Remove hir::AssocItemKind.Camille GILLOT-1/+1
2025-07-10Check assoc consts and tys later like assoc fnsMu001999-24/+46
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-06-25Rollup merge of #142724 - xizheyin:avoid_overwrite_args, r=oli-obkJana Dönszelmann-1/+1
2025-06-25Add runtime check to avoid overwrite arg easily in diag and store and restore...xizheyin-1/+1
2025-06-14Marks ADT live if it appears in patternMu001999-50/+28
2025-06-12detect when variants have the same name as an associated functionJana Dönszelmann-1/+29
2025-06-09Always consider `const _` items as live for dead code analysisUrgau-1/+12
2025-05-31Rollup merge of #141740 - nnethercote:hir-ItemKind-field-order, r=fee1-deadMatthias Krüger-3/+3
2025-05-30Reorder fields in `hir::ItemKind` variants.Nicholas Nethercote-3/+3
2025-05-27Refactor the two-phase check for impls and impl itemsMu001999-130/+120
2025-05-24Cleanup CodegenFnAttrFlagsNoratrieb-1/+1
2025-04-03impl !PartialOrd for HirIdOli Scherer-1/+2
2025-04-03Remove `LintExpectationId` from `Level` variantsOli Scherer-5/+6
2025-04-03Make LevelAndSource a structOli Scherer-2/+2
2025-04-02Only walk local items instead of filtering for them laterOli Scherer-4/+2
2025-03-17Rollup merge of #138384 - nnethercote:hir-ItemKind-idents, r=fmeaseMatthias Krüger-4/+4
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-4/+4
2025-03-17Flatten and simplify some control flowYotam Ofek-1/+1
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-3/+3
2025-02-22Fix binding mode problemsMichael Goulet-1/+1
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-2/+2
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-6/+6
2025-01-29Handle all `PatExpr`s in dead code analysisOli Scherer-5/+12
2025-01-29Eliminate PatKind::PathOli Scherer-4/+3
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-1/+1
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1