minor: add profile call for resolve_obligations
This commit is contained in:
parent
71ef64b673
commit
387d7c7d96
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