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_macros::StableHash_NoContext;๐use rustc_type_ir_macros::GenericTypeVisitable;๐use rustc_type_ir_macros::Lift_Generic;๐use rustc_type_ir_macros::TypeFoldable_Generic;๐use rustc_type_ir_macros::TypeVisitable_Generic;๐use crate as ty;๐use crate::AliasConst;๐use crate::BoundVarIndexKind;๐use crate::Interner;๐
Structsยง
- Const
Vid - A
constvariable ID.
Enumsยง
- Alias
Const Kind AliasConstKindis extremely similar toAliasTyKind, and likely should be reasoned about and handled in very similar ways. The documentation forAliasTyKind/etc. may be helpful when learning aboutAliasConstKind.- Anon
Const Kind - Const
Kind - Represents a constant in Rust.
- Infer
Const - An inference variable for a const, for use in const generics.
- ValTree
Kind - This datastructure is used to represent the value of constants used in the type system.