1
Fork 0

Emit alias-eq when equating numeric var and projection

This commit is contained in:
Michael Goulet 2023-03-06 19:45:03 +00:00
parent 39f2657d11
commit 3aea46979a
3 changed files with 38 additions and 10 deletions

View file

@ -995,7 +995,7 @@ impl<'tcx> Term<'tcx> {
pub fn is_infer(&self) -> bool {
match self.unpack() {
TermKind::Ty(ty) => ty.is_ty_or_numeric_infer(),
TermKind::Ty(ty) => ty.is_ty_var(),
TermKind::Const(ct) => ct.is_ct_infer(),
}
}