compiler: inline 1-2 query provide fn in hir_analysis and hir_typeck

Many small indirections with 1-2 items actively hinders understanding.
Inlines various tiny submodule provides into
- hir_analysis::provide
- hir_analysis::check::provide
- hir_typeck::provide
This commit is contained in:
Jubilee Young
2025-07-03 10:52:56 -07:00
parent 6677875279
commit f5fbb2c0a5
10 changed files with 29 additions and 50 deletions

View File

@@ -109,6 +109,8 @@ pub fn provide(providers: &mut Providers) {
collect_return_position_impl_trait_in_trait_tys,
compare_impl_item: compare_impl_item::compare_impl_item,
check_coroutine_obligations: check::check_coroutine_obligations,
check_type_wf: wfcheck::check_type_wf,
check_well_formed: wfcheck::check_well_formed,
..*providers
};
}