8628: minor: Add one more profiling span to add_dep r=lnicola a=lnicola

CC #8623

bors r+

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2021-04-22 18:48:53 +00:00 committed by GitHub
commit 07fb65abb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()),