summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
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
2023-10-04Auto merge of #114417 - chinedufn:fix-expect-unused-in-impl-block-rust-issue-...bors-34/+39
2023-10-02TidyChinedu Francis Nwafili-6/+1
2023-10-02TidyChinedu Francis Nwafili-12/+2
2023-10-02Address misc feedbackChinedu Francis Nwafili-18/+19
2023-09-26Don't store lazyness in DefKindMichael Goulet-2/+2
2023-09-12Fix formattingChinedu Francis Nwafili-12/+8
2023-09-12Tests passingChinedu Francis Nwafili-14/+20
2023-08-15Misc progressChinedu Francis Nwafili-15/+25
2023-08-14Use `{Local}ModDefId` in many queriesNilstrieb-3/+3
2023-08-12Auto merge of #114710 - Urgau:fix-expect-dead_code-114557, r=cjgillotbors-33/+93
2023-08-10Respect `#[expect]` the same way `#[allow]` is with the `dead_code` lintUrgau-33/+93
2023-08-08Fix multiple `expect` attribs in impl blockChinedu Francis Nwafili-0/+7
2023-08-07Store the laziness of type aliases in the DefKindLeón Orell Valerian Liehr-2/+2
2023-07-14Rollup merge of #113698 - compiler-errors:rpitit-check, r=spastorinoMatthias Krüger-1/+1
2023-07-14Make it clearer that we're just checking for an RPITITMichael Goulet-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-3/+3
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-0/+11
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-04-21fmtDrMeepster-6/+3
2023-04-21fix incorrect param env in dead code lintDrMeepster-4/+5
2023-04-21offset_ofDrMeepster-0/+36
2023-04-13impl reviewer feedbackEzra Shaw-11/+10
2023-04-13dead-code-lint: de-dup multiple unused assoc fnsEzra Shaw-17/+37
2023-04-13refactor: emit "unused assoc fn" in lexical orderEzra Shaw-4/+7
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