Trait rustc_infer::infer::free_regions::FreeRegionRelations [−][src]
pub trait FreeRegionRelations<'tcx> {
fn sub_free_regions(
&self,
tcx: TyCtxt<'tcx>,
shorter: Region<'tcx>,
longer: Region<'tcx>
) -> bool;
}Expand description
The NLL region handling code represents free region relations in a slightly different way; this trait allows functions to be abstract over which version is in use.