compiler: document all provide fn in hir_analysis and hir_typeck

This commit is contained in:
Jubilee Young
2025-07-03 10:59:14 -07:00
parent f5fbb2c0a5
commit 3b7f9f9d1b
6 changed files with 7 additions and 2 deletions

View File

@@ -100,8 +100,8 @@ use self::compare_impl_item::collect_return_position_impl_trait_in_trait_tys;
use self::region::region_scope_tree;
use crate::{errors, require_c_abi_if_c_variadic};
pub fn provide(providers: &mut Providers) {
wfcheck::provide(providers);
/// Adds query implementations to the [Providers] vtable, see [`rustc_middle::query`]
pub(super) fn provide(providers: &mut Providers) {
*providers = Providers {
adt_destructor,
adt_async_destructor,