Skip to content

Commit 7913f13

Browse files
committed
Add term to ExistentialProjection
Also prevent ICE when adding a const in associated const equality.
1 parent cf86d53 commit 7913f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ impl Rewrite for ast::AssocConstraintKind {
211211
match self {
212212
ast::AssocConstraintKind::Equality { term } => match term {
213213
Term::Ty(ty) => ty.rewrite(context, shape),
214-
Term::Const(c) => c.rewrite(context,shape),
214+
Term::Const(c) => c.rewrite(context, shape),
215215
},
216216
ast::AssocConstraintKind::Bound { bounds } => bounds.rewrite(context, shape),
217217
}

0 commit comments

Comments
 (0)