Expand description
Common utilities shared by both rustc_ast and rustc_type_ir.
Donβt depend on this crate directly; both of those crates should re-export
the functionality. Additionally, if youβre in scope of rustc_middle, then
prefer imports via that too, to avoid needing to directly depend on (e.g.)
rustc_type_ir for a single import.
Re-exportsΒ§
pub(crate) use std::fmt;πpub(crate) use Decodable_NoContext;πpub(crate) use Encodable_NoContext;πpub(crate) use StableHash;πpub(crate) use Symbol;πpub(crate) use sym;π
ModulesΒ§
MacrosΒ§
EnumsΒ§
- FloatTy
- IntTy
- Movability
- The movability of a coroutine / closure literal:
whether a coroutine contains self-references, causing it to be
!Unpin. - Mutability
- Pinnedness
- UintTy