minor: add profile call for resolve_obligations

This commit is contained in:
Aleksey Kladov 2021-04-02 15:28:51 +03:00
parent 71ef64b673
commit 387d7c7d96

View File

@ -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 {