diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/hir_ty/src/infer.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir_ty/src/infer.rs b/crates/hir_ty/src/infer.rs index 497a1beb7..674e9e6f9 100644 --- a/crates/hir_ty/src/infer.rs +++ b/crates/hir_ty/src/infer.rs | |||
@@ -340,6 +340,8 @@ impl<'a> InferenceContext<'a> { | |||
340 | // no change | 340 | // no change |
341 | return; | 341 | return; |
342 | } | 342 | } |
343 | let _span = profile::span("resolve_obligations_as_possible"); | ||
344 | |||
343 | self.last_obligations_check = Some(self.table.revision); | 345 | self.last_obligations_check = Some(self.table.revision); |
344 | let obligations = mem::replace(&mut self.obligations, Vec::new()); | 346 | let obligations = mem::replace(&mut self.obligations, Vec::new()); |
345 | for obligation in obligations { | 347 | for obligation in obligations { |