@@ -106,16 +106,14 @@ pub enum UsageKind {
106
106
impl UsageKind {
107
107
fn merge ( self , other : Self ) -> Self {
108
108
match ( self , other) {
109
+ ( UsageKind :: Mixed , _) | ( _, UsageKind :: Mixed ) => UsageKind :: Mixed ,
109
110
( UsageKind :: Single ( lhs) , UsageKind :: Single ( rhs) ) => {
110
111
if lhs == rhs {
111
112
UsageKind :: Single ( lhs)
112
113
} else {
113
114
UsageKind :: Mixed
114
115
}
115
116
}
116
- ( UsageKind :: Mixed , UsageKind :: Mixed )
117
- | ( UsageKind :: Mixed , UsageKind :: Single ( _) )
118
- | ( UsageKind :: Single ( _) , UsageKind :: Mixed ) => UsageKind :: Mixed ,
119
117
}
120
118
}
121
119
}
@@ -458,7 +456,7 @@ impl<D: Delegate<Cx = X>, X: Cx> SearchGraph<D> {
458
456
for _ in 0 ..D :: FIXPOINT_STEP_LIMIT {
459
457
match self . fixpoint_step_in_task ( cx, input, inspect, & mut prove_goal) {
460
458
StepResult :: Done ( final_entry, result) => return ( final_entry, result) ,
461
- StepResult :: HasChanged => debug ! ( "fixpoint changed provisional results" ) ,
459
+ StepResult :: HasChanged => { }
462
460
}
463
461
}
464
462
@@ -623,6 +621,7 @@ impl<D: Delegate<Cx = X>, X: Cx> SearchGraph<D> {
623
621
if D :: reached_fixpoint ( cx, usage_kind, input, stack_entry. provisional_result , result) {
624
622
StepResult :: Done ( stack_entry, result)
625
623
} else {
624
+ debug ! ( ?result, "fixpoint changed provisional results" ) ;
626
625
let depth = self . stack . push ( StackEntry {
627
626
has_been_used : None ,
628
627
provisional_result : Some ( result) ,
0 commit comments