about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/dead.rs
AgeCommit message (Expand)AuthorLines
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
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