Implement const effect predicate in new solver
This commit is contained in:
@@ -137,6 +137,10 @@ where
|
||||
ty::ClauseKind::Trait(ty::TraitPredicate { trait_ref, polarity: _ }) => {
|
||||
self.visit_trait(trait_ref)
|
||||
}
|
||||
ty::ClauseKind::HostEffect(pred) => {
|
||||
try_visit!(self.visit_trait(pred.trait_ref));
|
||||
pred.host.visit_with(self)
|
||||
}
|
||||
ty::ClauseKind::Projection(ty::ProjectionPredicate {
|
||||
projection_term: projection_ty,
|
||||
term,
|
||||
|
||||
Reference in New Issue
Block a user