We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e06c2 commit 2ef3a42Copy full SHA for 2ef3a42
chalk-solve/src/coinductive_goal.rs
@@ -26,10 +26,13 @@ impl<I: Interner> IsCoinductive<I> for Goal<I> {
26
WhereClause::AliasEq(..) => false,
27
},
28
GoalData::DomainGoal(DomainGoal::WellFormed(WellFormed::Trait(..))) => true,
29
- GoalData::Quantified(QuantifierKind::ForAll, goal) => {
30
- goal.skip_binders().is_coinductive(db)
31
- }
32
- _ => false,
+ GoalData::DomainGoal(_) => false,
+ GoalData::Quantified(_, goal) => goal.skip_binders().is_coinductive(db),
+ GoalData::All(..) => true, // FIXME(ndm)
+ GoalData::Implies(_, goal) => goal.is_coinductive(db),
33
+ GoalData::Not(_) => false,
34
+ GoalData::EqGoal(_) => false,
35
+ GoalData::CannotProve(_) => false,
36
}
37
38
0 commit comments