summaryrefslogtreecommitdiff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)Author
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon
2024-08-03Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet
2024-08-03Revert "Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkov"Michael Goulet
2024-08-03Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet
2024-08-03Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix"Michael Goulet
2024-08-03Revert "Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet
2024-08-03Revert "Rollup merge of #128104 - mu001999-contrib:fix/128053, r=petrochenkov"Michael Goulet
2024-07-29Rollup merge of #128104 - mu001999-contrib:fix/128053, r=petrochenkovMatthias Krüger
2024-07-29Reformat `use` declarations.Nicholas Nethercote
2024-07-26Not lint pub structs without pub constructors if containing fields of unit, n...mu001999
2024-07-26Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pnkfelixTrevor Gross
2024-07-05Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelixMichael Goulet
2024-07-04Improve dead code analysismu001999
2024-07-02chore: remove duplicate wordshattizai
2024-06-27Extend rules of dead code analysis for impls for adts to impls for types refe...mu001999
2024-06-25Auto merge of #126951 - matthiaskrgr:rollup-xg0o4mc, r=matthiaskrgrbors
2024-06-25Rollup merge of #126302 - mu001999-contrib:ignore/default, r=michaelwoeristerMatthias Krüger
2024-06-25Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelixMatthias Krüger
2024-06-25Detect unused structs which derived Defaultmu001999
2024-06-24Rollup merge of #124460 - long-long-float:show-notice-about-enum-with-debug, ...Michael Goulet
2024-06-19Rollup merge of #124580 - gurry:124556-suggest-remove-tuple-field, r=jackh726León Orell Valerian Liehr
2024-06-18Mark assoc tys live only if the trait is livemu001999
2024-06-16Show notice about "never used" for enumlong-long-float
2024-06-13Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkovMatthias Krüger
2024-06-12Detect pub structs never constructed even though they impl pub trait with ass...r0cky
2024-06-12Add pub struct with allow(dead_code) into worklistr0cky
2024-06-07Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelixMatthias Krüger
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer
2024-06-05Detect pub structs never constructed and unused associated constants in traitsr0cky
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer
2024-05-23Detect unused structs which implement private traitsr0cky
2024-05-13Suggest removing unused tuple fields if they are the last fieldsGurinder Singh
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote
2024-04-06Do not ICE on field access check on expr with `ty::Error`Esteban Küber
2024-03-23Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlinbors
2024-03-21rename items -> free_itemsRalf Jung
2024-03-14hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`Vadim Petrochenkov
2024-03-12Replace visibility test with reachability test in dead code detectionArthur Carcano
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer
2024-03-10Detect unused struct impls pub traitr0cky
2024-02-22Overhaul the handling of errors at the top-level.Nicholas Nethercote
2024-02-12Dejargnonize substShoyu Vanilla
2024-02-07Make traits / trait methods detected by the dead code lint!r0cky
2024-02-03Check for presence of field in typeck results before visiting itLeón Orell Valerian Liehr
2024-01-25Rebase slice_group_by stabilization PRDavid Tolnay
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote
2024-01-18`dead_code` treats `#[repr(transparent)]` the same as `#[repr(C)]`Jake Goulding
2024-01-16Skip dead code checks on items that failed typeckOli Scherer