about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
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
2024-07-04Improve dead code analysismu001999-28/+12
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-27Extend rules of dead code analysis for impls for adts to impls for types refe...mu001999-10/+22
2024-06-25Auto merge of #126951 - matthiaskrgr:rollup-xg0o4mc, r=matthiaskrgrbors-16/+25
2024-06-25Rollup merge of #126302 - mu001999-contrib:ignore/default, r=michaelwoeristerMatthias Krüger-0/+25
2024-06-25Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelixMatthias Krüger-16/+25
2024-06-25Detect unused structs which derived Defaultmu001999-0/+25
2024-06-24Rollup merge of #124460 - long-long-float:show-notice-about-enum-with-debug, ...Michael Goulet-0/+19
2024-06-19Rollup merge of #124580 - gurry:124556-suggest-remove-tuple-field, r=jackh726León Orell Valerian Liehr-13/+45
2024-06-18Mark assoc tys live only if the trait is livemu001999-16/+25
2024-06-16Show notice about "never used" for enumlong-long-float-0/+19
2024-06-13Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkovMatthias Krüger-1/+1
2024-06-12Detect pub structs never constructed even though they impl pub trait with ass...r0cky-2/+2
2024-06-12Add pub struct with allow(dead_code) into worklistr0cky-1/+1
2024-06-07Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelixMatthias Krüger-28/+93
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-10/+11
2024-06-05Detect pub structs never constructed and unused associated constants in traitsr0cky-28/+93
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-11/+10
2024-05-23Detect unused structs which implement private traitsr0cky-16/+33
2024-05-13Suggest removing unused tuple fields if they are the last fieldsGurinder Singh-13/+45
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-06Do not ICE on field access check on expr with `ty::Error`Esteban Küber-1/+2
2024-03-23Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlinbors-2/+3
2024-03-21rename items -> free_itemsRalf Jung-2/+2