Skip to main content

Module region

Module region 

Source

Re-exportsยง

use rustc_hir::def_id::DefId; ๐Ÿ”’
use rustc_macros::StableHash; ๐Ÿ”’
use rustc_macros::TyDecodable; ๐Ÿ”’
use rustc_macros::TyEncodable; ๐Ÿ”’
use rustc_span::Symbol; ๐Ÿ”’
use rustc_span::kw; ๐Ÿ”’
use rustc_type_ir::LateParamRegion as IrLateParamRegion; ๐Ÿ”’
use rustc_type_ir::Region as IrRegion; ๐Ÿ”’
use rustc_type_ir::RegionKind as IrRegionKind; ๐Ÿ”’
use crate::ty; ๐Ÿ”’
use crate::ty::BoundVar; ๐Ÿ”’
use crate::ty::TyCtxt; ๐Ÿ”’

Modulesยง

size_asserts ๐Ÿ”’

Structsยง

EarlyParamRegion
RegionVid
A region variable ID.

Enumsยง

LateParamRegionKind
When liberating bound regions, we map their ty::BoundRegionKind to this as we need to track the index of anonymous regions. We otherwise end up liberating multiple bound regions to the same late-bound region.

Type Aliasesยง

LateParamRegion
Region
RegionKind