Skip to content

Commit 2c5f905

Browse files
bors[bot]matklad
andauthored
Merge #8294
8294: minor: add profile call for resolve_obligations r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 71ef64b + 387d7c7 commit 2c5f905

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/hir_ty/src/infer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ impl<'a> InferenceContext<'a> {
340340
// no change
341341
return;
342342
}
343+
let _span = profile::span("resolve_obligations_as_possible");
344+
343345
self.last_obligations_check = Some(self.table.revision);
344346
let obligations = mem::replace(&mut self.obligations, Vec::new());
345347
for obligation in obligations {

0 commit comments

Comments
 (0)