remove hack in region inference
I forgot about it in the previous commit
This commit is contained in:
parent
efc45758fd
commit
c00b5dc70a
1 changed files with 0 additions and 7 deletions
|
@ -489,13 +489,6 @@ impl<'a, 'tcx> RegionVarBindings<'a, 'tcx> {
|
|||
origin);
|
||||
|
||||
match (sub, sup) {
|
||||
(ReEarlyBound(..), ReEarlyBound(..)) => {
|
||||
// This case is used only to make sure that explicitly-specified
|
||||
// `Self` types match the real self type in implementations.
|
||||
//
|
||||
// FIXME(NDM) -- we really shouldn't be comparing bound things
|
||||
self.add_verify(VerifyRegSubReg(origin, sub, sup));
|
||||
}
|
||||
(ReEarlyBound(..), _) |
|
||||
(ReLateBound(..), _) |
|
||||
(_, ReEarlyBound(..)) |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue