Skip to main content

Module region_kind

Module region_kind 

Source

Re-exportsยง

use std::fmt; ๐Ÿ”’
use derive_where::derive_where; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHash; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHashCtxt; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHasher; ๐Ÿ”’
use rustc_macros::Decodable_NoContext; ๐Ÿ”’
use rustc_macros::Encodable_NoContext; ๐Ÿ”’
use rustc_macros::StableHash; ๐Ÿ”’
use rustc_type_ir_macros::GenericTypeVisitable; ๐Ÿ”’
use crate::BoundRegion; ๐Ÿ”’
use crate::BoundVarIndexKind; ๐Ÿ”’
use crate::Interner; ๐Ÿ”’
use crate::LateParamRegion; ๐Ÿ”’
use crate::PlaceholderRegion; ๐Ÿ”’
use self::RegionKind::*; ๐Ÿ”’

Structsยง

RegionVid
A region variable ID.

Enumsยง

RegionKind
Representation of regions. Note that the NLL checker uses a distinct representation of regions. For this reason, it internally replaces all the regions with inference variables โ€“ the index of the variable is then used to index into internal NLL data structures. See rustc_const_eval::borrow_check module for more information.