Expand description
Type context book-keeping.
Modulesยง
- impl_
interner ๐ - Implementation of
rustc_type_ir::InternerforTyCtxt. - tls
Macrosยง
- direct_
interners ๐ - nop_
lift ๐ - nop_
list_ ๐lift - slice_
interners ๐ - sty_
debug_ ๐print
Structsยง
- Common
Consts - Common
Lifetimes - Common
Types - Ctxt
Interners - Current
Gcx - This is used to get a reference to a
GlobalCtxtif one is available. - Free
Region Info - This struct contains information regarding a free parameter region,
either a
ReEarlyParamorReLateParam. - Global
Caches - An assortment of global caches used by various parts of the compiler.
- Global
Ctxt - See TyCtxt for details about this type.
- Interned
InSet ๐ - TyCtxt
- The central data structure of the compiler. It stores references to the various arenas and also houses the results of the various compiler queries that have been performed. See the rustc dev guide for more details.
- TyCtxt
Feed - This struct should only be created by
create_def.
Constantsยง
- NUM_
PREINTERNED_ ๐BOUND_ BOUND_ ANONS_ I - NUM_
PREINTERNED_ ๐BOUND_ BOUND_ ANONS_ V - NUM_
PREINTERNED_ ๐BOUND_ CANONICAL_ ANONS - NUM_
PREINTERNED_ ๐INFER_ FRESH_ FLOAT_ TYS - NUM_
PREINTERNED_ ๐INFER_ FRESH_ INT_ TYS - NUM_
PREINTERNED_ ๐INFER_ FRESH_ TYS - NUM_
PREINTERNED_ ๐INFER_ TY_ VARS - NUM_
PREINTERNED_ ๐PLACEHOLDER_ ROOT_ ANONS - NUM_
PREINTERNED_ ๐RE_ BOUND_ BOUND_ ANONS_ I - NUM_
PREINTERNED_ ๐RE_ BOUND_ BOUND_ ANONS_ V - NUM_
PREINTERNED_ ๐RE_ BOUND_ CANONICAL_ ANONS - NUM_
PREINTERNED_ ๐RE_ VARS
Traitsยง
- Lift
- A trait implemented for all
X<'a>types that can be safely and efficiently converted toX<'tcx>as long as they are part of the providedTyCtxt<'tcx>. This can be done, for example, forTy<'tcx>orGenericArgsRef<'tcx>by looking them up in their respective interners.
Functionsยง
Type Aliasesยง
- Interned
Set ๐