about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
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
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-4/+7
2024-10-27compiler: Add rustc_abi dependence to the compilerJubilee Young-1/+1
2024-10-04rm `ItemKind::OpaqueTy`Noah Lev-8/+2
2024-10-02Remove redundant in_trait from hir::TyKind::OpaqueDefMichael Goulet-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon-2/+2
2024-08-03Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-93/+28
2024-08-03Revert "Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkov"Michael Goulet-1/+1
2024-08-03Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-25/+16
2024-08-03Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix"Michael Goulet-12/+28
2024-08-03Revert "Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-22/+10
2024-08-03Revert "Rollup merge of #128104 - mu001999-contrib:fix/128053, r=petrochenkov"Michael Goulet-19/+17
2024-07-29Rollup merge of #128104 - mu001999-contrib:fix/128053, r=petrochenkovMatthias Krüger-17/+19
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
2024-07-26Not lint pub structs without pub constructors if containing fields of unit, n...mu001999-17/+19
2024-07-26Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pnkfelixTrevor Gross-10/+22
2024-07-05Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelixMichael Goulet-28/+12