about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
2022-10-01Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebankbors-27/+29
2022-10-01Refactor rustc lint APIMaybe Waffle-27/+29
2022-09-29Shrink `hir::def::Res`.Nicholas Nethercote-8/+2
2022-09-24separate definitions and `HIR` ownersTakayuki Maeda-14/+19
2022-09-14change AccessLevels representationBryanskiy-7/+4
2022-09-09Handle generic parameters.Camille GILLOT-1/+1
2022-09-08Introduce `DotDotPos`.Nicholas Nethercote-7/+4
2022-08-11Simplify `rustc_hir::intravisit::Visitor::visit_variant_data`.Nicholas Nethercote-8/+1
2022-08-03Warn about dead tuple struct fieldsFabian Wolff-18/+111
2022-06-22Rewrite dead-code pass to avoid fetching HIR.Camille GILLOT-168/+89
2022-06-22Uniform spans in dead code lint.Camille GILLOT-96/+52
2022-06-22Simplify match.Camille GILLOT-5/+3
2022-06-22Mark inherent impls as using the type during liveness collection.Camille GILLOT-25/+21
2022-06-19collapse dead code warnings into a single diagnosticTakayuki Maeda-70/+181
2022-06-19emit only one note per unused struct fieldTakayuki Maeda-36/+51
2022-06-02don't use a `span_note` for ignored implslcnr-5/+1
2022-05-14avoid fetching HIR when handling Impl assoc itemsMiguel Guarniz-12/+18
2022-05-13replace hir().def_kind for def_kind query in rustc_passesMiguel Guarniz-3/+3
2022-05-13remove LifeSeederMiguel Guarniz-52/+69
2022-05-09reviewlcnr-1/+1
2022-05-09only compute `codegen_fn_attrs` where neededlcnr-9/+11
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-3/+3
2022-04-30Box HIR Generics and Impl.Camille GILLOT-1/+1
2022-04-23Fix lints.Camille GILLOT-35/+14
2022-04-23Drop vis in Item.Camille GILLOT-1/+1
2022-04-23Drop vis in FieldDef.Camille GILLOT-4/+14
2022-04-16Auto merge of #94468 - Amanieu:global_asm_sym, r=nagisabors-0/+4
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-0/+4
2022-04-14remove redundant function param in check_for_self_assign_helper()Matthias Krüger-3/+2
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-6/+6
2022-02-285 - Make more use of let_chainsCaio-28/+27
2022-02-12change to a struct variantEllen-1/+1
2022-02-06`#[used(linker)]` attribute (https://github.com/dtolnay/linkme/issues/41)cynecx-1/+4
2022-02-01Make dead code check a query.Camille GILLOT-22/+33
2022-01-19Rollup merge of #92783 - FabianWolff:issue-92726, r=nikomatsakisMatthias Krüger-6/+54
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-11/+5
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-2/+2
2022-01-15Use span of ignored impls for explanatory noteFabian Wolff-19/+27
2022-01-11Annotate dead code lint with notes about ignored derived implsFabian Wolff-6/+46
2021-12-15Remove `in_band_lifetimes` for `rustc_passes`Peter Jaszkowiak-3/+3
2021-10-02only check for automatically_derived on impls, not individual methodsErik Desjardins-18/+6
2021-10-01perf: only check for rustc_trivial_field_reads attribute on traitsErik Desjardins-23/+1
2021-09-29Avoid more invocations of hir_crate query.Camille GILLOT-12/+7
2021-09-09Ignore automatically derived impls of `Clone` and `Debug` in dead code analysisFabian Wolff-0/+62
2021-09-02Rename walk_crate.Camille GILLOT-1/+1
2021-09-02Stop using walk_crate.Camille GILLOT-1/+1
2021-08-14Fix dead code warning when inline const is used in patternGary Guo-0/+7
2021-07-31rustc: Replace `HirId`s with `LocalDefId`s in `AccessLevels` tablesVadim Petrochenkov-52/+49
2021-07-21Allow some temporarily dead code.Felix S. Klock II-0/+2
2021-07-21Revert PR 81473 to resolve (on mainline) issues 81626 and 81658.Felix S. Klock II-6/+0