mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
chore: add some tracing
to project loading
This commit is contained in:
parent
af1fd88c4d
commit
2a030ba755
7 changed files with 33 additions and 5 deletions
|
@ -16,6 +16,7 @@ use semver::Version;
|
|||
use span::Edition;
|
||||
use stdx::always;
|
||||
use toolchain::Tool;
|
||||
use tracing::instrument;
|
||||
use triomphe::Arc;
|
||||
|
||||
use crate::{
|
||||
|
@ -863,6 +864,7 @@ impl ProjectWorkspace {
|
|||
}
|
||||
}
|
||||
|
||||
#[instrument(skip_all)]
|
||||
fn project_json_to_crate_graph(
|
||||
rustc_cfg: Vec<CfgFlag>,
|
||||
load: &mut dyn FnMut(&AbsPath) -> Option<FileId>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue