Add term to ExistentialProjection
Also prevent ICE when adding a const in associated const equality.
This commit is contained in:
parent
cf86d53202
commit
7913f130d3
@ -211,7 +211,7 @@ impl Rewrite for ast::AssocConstraintKind {
|
||||
match self {
|
||||
ast::AssocConstraintKind::Equality { term } => match term {
|
||||
Term::Ty(ty) => ty.rewrite(context, shape),
|
||||
Term::Const(c) => c.rewrite(context,shape),
|
||||
Term::Const(c) => c.rewrite(context, shape),
|
||||
},
|
||||
ast::AssocConstraintKind::Bound { bounds } => bounds.rewrite(context, shape),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user