Remove fold_const
override for ReverseMapper
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
This commit is contained in:
parent
ed3dae4aca
commit
ef1b2acf12
1 changed files with 0 additions and 4 deletions
|
@ -659,10 +659,6 @@ impl<'cx, 'gcx, 'tcx> TypeFolder<'gcx, 'tcx> for ReverseMapper<'cx, 'gcx, 'tcx>
|
||||||
_ => ty.super_fold_with(self),
|
_ => ty.super_fold_with(self),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn fold_const(&mut self, ct: &'tcx ty::LazyConst<'tcx>) -> &'tcx ty::LazyConst<'tcx> {
|
|
||||||
ct // FIXME(const_generics)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Instantiator<'a, 'gcx: 'tcx, 'tcx: 'a> {
|
struct Instantiator<'a, 'gcx: 'tcx, 'tcx: 'a> {
|
||||||
|
|
Loading…
Reference in a new issue