Skip to content

Commit 3279bcb

Browse files
committed
w
1 parent 4e5fb24 commit 3279bcb

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_type_ir/src/search_graph

1 file changed

+1
-2
lines changed

compiler/rustc_type_ir/src/search_graph/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,6 @@ impl<D: Delegate<Cx = X>, X: Cx> SearchGraph<D> {
12151215
Self::clear_dependent_provisional_results(&self.stack, &mut self.provisional_cache);
12161216

12171217
debug!(?i, ?result, "changed provisional results");
1218-
// TODO: expected wtf
12191218
match self.reevaluate_goal_on_stack(cx, stack_entry, result, inspect) {
12201219
(new_stack_entry, new_result) => {
12211220
if new_result == result {
@@ -1262,7 +1261,7 @@ impl<D: Delegate<Cx = X>, X: Cx> SearchGraph<D> {
12621261
has_been_used: None,
12631262
});
12641263

1265-
if true || !D::ENABLE_PROVISIONAL_CACHE {
1264+
if !D::ENABLE_PROVISIONAL_CACHE {
12661265
let result = D::compute_goal(self, cx, prev_stack_entry.input, inspect);
12671266
let reeval_entry = self.stack.pop();
12681267
return (reeval_entry, result);

0 commit comments

Comments
 (0)