Skip to content

Commit d0b3a66

Browse files
nikomatsakisdetrumi
authored andcommitted
don't push the well-formed goal, push the implemented goal
1 parent 657d371 commit d0b3a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chalk-solve/src/clauses/program_clauses.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl<I: Interner> ToProgramClauses<I> for OpaqueTyDatum<I> {
173173
// Implemented(!T<..>: Bound).
174174
let bound_with_placeholder_ty = bound.substitute(interner, &substitution);
175175
builder.push_binders(&bound_with_placeholder_ty, |builder, bound| {
176-
builder.push_fact(bound.into_well_formed_goal(interner));
176+
builder.push_fact(bound);
177177
});
178178
}
179179

0 commit comments

Comments
 (0)