Emit alias-eq when equating numeric var and projection
This commit is contained in:
parent
39f2657d11
commit
3aea46979a
3 changed files with 38 additions and 10 deletions
|
@ -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(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue