Skip to content

Commit ef1b2ac

Browse files
varkoryodaldevoid
andcommitted
Remove fold_const override for ReverseMapper
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
1 parent ed3dae4 commit ef1b2ac

File tree

1 file changed

+0
-4
lines changed
  • src/librustc/infer/opaque_types

1 file changed

+0
-4
lines changed

src/librustc/infer/opaque_types/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -659,10 +659,6 @@ impl<'cx, 'gcx, 'tcx> TypeFolder<'gcx, 'tcx> for ReverseMapper<'cx, 'gcx, 'tcx>
659659
_ => ty.super_fold_with(self),
660660
}
661661
}
662-
663-
fn fold_const(&mut self, ct: &'tcx ty::LazyConst<'tcx>) -> &'tcx ty::LazyConst<'tcx> {
664-
ct // FIXME(const_generics)
665-
}
666662
}
667663

668664
struct Instantiator<'a, 'gcx: 'tcx, 'tcx: 'a> {

0 commit comments

Comments
 (0)