about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-1/+2
2023-03-21Use local key in providersMichael Goulet-2/+2
2023-03-13Don't opt_rpitit_info as a separate queryMichael Goulet-1/+1
2023-03-12Auto merge of #108700 - spastorino:new-rpitit-impl-side-2, r=compiler-errorsbors-0/+6
2023-03-08Auto merge of #108312 - michaelwoerister:hash-set-not-hash-stable, r=eholkbors-13/+11
2023-03-06Avoid accessing HIR for RPITITs assoc type on mark_live_symbolsSantiago Pastorino-0/+6
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-1/+1
2023-03-01Use UnordSet instead of FxHashSet for names_imported_by_glob_use query.Michael Woerister-1/+1
2023-03-01Use LocalDefIdSet/Map instead of FxHashSet/Map for live_symbols_and_ignored_d...Michael Woerister-14/+12
2023-02-23Auto merge of #108324 - notriddle:notriddle/assoc-fn-method, r=compiler-error...bors-2/+2
2023-02-22diagnostics: if AssocFn has self argument, describe as methodMichael Howell-2/+2
2023-02-22Lint dead code in closuresclubby789-0/+3
2023-02-19Auto merge of #108128 - clubby789:builtin-derived-attr, r=jackh726bors-1/+1
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-2/+2
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-2/+2
2023-02-16Properly check for builtin derivesclubby789-1/+1
2023-02-14Add `of_trait` to DefKind::Impl.Camille GILLOT-5/+3
2023-01-30Consider `#[allow(dead_code)]` before lang itemsMaybe Waffle-2/+2
2023-01-30Split `has_allow_dead_code_or_lang_attr` into sub functionsMaybe Waffle-16/+18
2023-01-28Remove `HirId -> LocalDefId` map from HIR.Camille GILLOT-25/+13
2023-01-14change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_re...Kyle Matsuda-3/+3
2023-01-14change usages of impl_trait_ref to bound_impl_trait_refKyle Matsuda-3/+3
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-10/+6
2022-12-19clippy::complexity fixesMatthias Krüger-1/+0
2022-12-04drive-by: move field_index to typeck resultsMichael Goulet-3/+3
2022-12-01rustc_hir: Relax lifetime requirements on `Visitor::visit_path`Vadim Petrochenkov-1/+1
2022-11-18couple of clippy::perf fixesMatthias Krüger-1/+1
2022-11-13Store a LocalDefId in hir::Variant & hir::Field.Camille GILLOT-8/+4
2022-11-04Rollup merge of #103397 - crlf0710:port_dead_code_lint, r=davidtwcoMatthias Krüger-91/+84
2022-10-31Rewrite implementation of `#[alloc_error_handler]`Amanieu d'Antras-5/+0
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-23/+23
2022-10-26privacy: Rename "accessibility levels" to "effective visibilities"Vadim Petrochenkov-4/+4
2022-10-24Port `dead_code` lints to be translatable.Charles Lew-91/+84
2022-10-07migrate dead.rs to translateable diagnosticsNathan Stocks-11/+5
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