Skip to content

Commit 32603ba

Browse files
committed
Remove redundant 'resolve_obligations_as_possible' call
1 parent 2e9f120 commit 32603ba

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

crates/hir-ty/src/infer.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -673,10 +673,6 @@ impl<'a> InferenceContext<'a> {
673673
)
674674
}
675675

676-
fn resolve_obligations_as_possible(&mut self) {
677-
self.table.resolve_obligations_as_possible();
678-
}
679-
680676
fn push_obligation(&mut self, o: DomainGoal) {
681677
self.table.register_obligation(o.cast(Interner));
682678
}
@@ -696,7 +692,6 @@ impl<'a> InferenceContext<'a> {
696692
}
697693

698694
fn resolve_ty_shallow(&mut self, ty: &Ty) -> Ty {
699-
self.resolve_obligations_as_possible();
700695
self.table.resolve_ty_shallow(ty)
701696
}
702697

0 commit comments

Comments
 (0)