Merge #8294
8294: minor: add profile call for resolve_obligations r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
2c5f905c67
1 changed files with 2 additions and 0 deletions
|
|
@ -340,6 +340,8 @@ impl<'a> InferenceContext<'a> {
|
|||
// no change
|
||||
return;
|
||||
}
|
||||
let _span = profile::span("resolve_obligations_as_possible");
|
||||
|
||||
self.last_obligations_check = Some(self.table.revision);
|
||||
let obligations = mem::replace(&mut self.obligations, Vec::new());
|
||||
for obligation in obligations {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue