diff --git a/crates/base_db/src/input.rs b/crates/base_db/src/input.rs index 07628935f0..0ef77ef5d6 100644 --- a/crates/base_db/src/input.rs +++ b/crates/base_db/src/input.rs @@ -239,6 +239,7 @@ impl CrateGraph { name: CrateName, to: CrateId, ) -> Result<(), CyclicDependenciesError> { + let _p = profile::span("add_dep"); if self.dfs_find(from, to, &mut FxHashSet::default()) { return Err(CyclicDependenciesError { from: (from, self[from].display_name.clone()),