about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
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
2024-03-14hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`Vadim Petrochenkov-37/+33
2024-03-12Replace visibility test with reachability test in dead code detectionArthur Carcano-2/+3
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-2/+2
2024-03-10Detect unused struct impls pub traitr0cky-11/+85
2024-02-22Overhaul the handling of errors at the top-level.Nicholas Nethercote-1/+4
2024-02-12Dejargnonize substShoyu Vanilla-2/+2
2024-02-07Make traits / trait methods detected by the dead code lint!r0cky-20/+71
2024-02-03Check for presence of field in typeck results before visiting itLeón Orell Valerian Liehr-1/+5
2024-01-25Rebase slice_group_by stabilization PRDavid Tolnay-1/+1
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-2/+2
2024-01-18`dead_code` treats `#[repr(transparent)]` the same as `#[repr(C)]`Jake Goulding-8/+10
2024-01-16Skip dead code checks on items that failed typeckOli Scherer-1/+4
2024-01-02Merge `unused_tuple_struct_fields` into `dead_code`Jake Goulding-23/+35
2023-12-25Pass DeadItem and lint as consistent group in dead-code.Camille GILLOT-62/+45
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-2/+2
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-6/+6
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-8/+8
2023-11-14Fix some typoscui fliter-1/+1
2023-10-31Enums in offset_of: update based on est31, scottmcm & llogiq reviewGeorge Bateman-20/+5
2023-10-31Support enum variants in offset_of!George Bateman-7/+22
2023-10-13Format all the let chains in compilerMichael Goulet-9/+10