pub fn erase_all_regions<'tcx, T>(tcx: TyCtxt<'tcx>, value: T) -> Twhere T: TypeFoldable<TyCtxt<'tcx>>,
Erase all regions. Largely copied from tcx.erase_regions.
tcx.erase_regions