mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 21:04:18 +00:00
Auto merge of #16474 - davidbarsky:david/import-on-the-fly-improvements, r=lnicola
internal: even more `tracing` As part of profiling completions, I added some additional spans and moved `TyBuilder::subst_for_def` closer to its usage site (the latter had a small impact on completion performance. Thanks for the tip, Lukas!)
This commit is contained in:
commit
3e47532dd4
9 changed files with 50 additions and 4 deletions
|
|
@ -605,6 +605,7 @@ fn assoc_to_item(assoc: AssocItem) -> ItemInNs {
|
|||
}
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip_all)]
|
||||
fn get_mod_path(
|
||||
db: &RootDatabase,
|
||||
item_to_search: ItemInNs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue