Struct rustc_traits::chalk::lowering::RegionsSubstitutor [−][src]
pub(crate) struct RegionsSubstitutor<'tcx> {
tcx: TyCtxt<'tcx>,
reempty_placeholder: Region<'tcx>,
}Expand description
Used to substitute specific Regionss with placeholders.
Fields
tcx: TyCtxt<'tcx>reempty_placeholder: Region<'tcx>Implementations
impl<'tcx> RegionsSubstitutor<'tcx>[src]
impl<'tcx> RegionsSubstitutor<'tcx>[src]Trait Implementations
impl<'tcx> TypeFolder<'tcx> for RegionsSubstitutor<'tcx>[src]
impl<'tcx> TypeFolder<'tcx> for RegionsSubstitutor<'tcx>[src]fn tcx<'b>(&'b self) -> TyCtxt<'tcx>[src]
fn fold_region(&mut self, r: Region<'tcx>) -> Region<'tcx>[src]
fn fold_binder<T>(&mut self, t: Binder<'tcx, T>) -> Binder<'tcx, T> where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,