Skip to content

Commit c00b5dc

Browse files
author
Ariel Ben-Yehuda
committed
remove hack in region inference
I forgot about it in the previous commit
1 parent efc4575 commit c00b5dc

File tree

1 file changed

+0
-7
lines changed
  • src/librustc/middle/infer/region_inference

1 file changed

+0
-7
lines changed

src/librustc/middle/infer/region_inference/mod.rs

-7
Original file line numberDiff line numberDiff line change
@@ -489,13 +489,6 @@ impl<'a, 'tcx> RegionVarBindings<'a, 'tcx> {
489489
origin);
490490

491491
match (sub, sup) {
492-
(ReEarlyBound(..), ReEarlyBound(..)) => {
493-
// This case is used only to make sure that explicitly-specified
494-
// `Self` types match the real self type in implementations.
495-
//
496-
// FIXME(NDM) -- we really shouldn't be comparing bound things
497-
self.add_verify(VerifyRegSubReg(origin, sub, sup));
498-
}
499492
(ReEarlyBound(..), _) |
500493
(ReLateBound(..), _) |
501494
(_, ReEarlyBound(..)) |

0 commit comments

Comments
 (0)