Rollup merge of #89142 - nerandell:master, r=jackh726
Fix match for placeholder region cc #89118
This commit is contained in:
commit
aca790b3d6
@ -90,7 +90,10 @@ impl<'a> HashStable<StableHashingContext<'a>> for ty::RegionKind {
|
||||
ty::ReFree(ref free_region) => {
|
||||
free_region.hash_stable(hcx, hasher);
|
||||
}
|
||||
ty::ReVar(..) | ty::RePlaceholder(..) => {
|
||||
ty::RePlaceholder(p) => {
|
||||
p.hash_stable(hcx, hasher);
|
||||
}
|
||||
ty::ReVar(..) => {
|
||||
bug!("StableHasher: unexpected region {:?}", *self)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user