inline CrateLoader inside of CStore

This commit is contained in:
LorrensP-2158466
2025-07-15 16:34:57 +02:00
parent bf5e6cc7a7
commit 466d33cb5c
5 changed files with 169 additions and 158 deletions

View File

@@ -1425,7 +1425,8 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
// otherwise cause duplicate suggestions.
continue;
}
let Some(crate_id) = self.crate_loader(|c| c.maybe_process_path_extern(ident.name))
let Some(crate_id) =
self.cstore_mut().maybe_process_path_extern(self.tcx, ident.name)
else {
continue;
};