Re-exportsΒ§
use std::borrow::Borrow;πuse std::borrow::Cow;πuse std::hash::Hash;πuse std::hash::Hash;πuse std::fmt;πuse std::mem;πuse rustc_abi::Align;πuse rustc_abi::FIRST_VARIANT;πuse rustc_abi::FieldIdx;πuse rustc_abi::Size;πuse rustc_abi::VariantIdx;πuse rustc_ast::Mutability;πuse rustc_attr_ir::find_attr;πuse rustc_attr_ir::lang_items::LangItem;πuse rustc_data_structures::fx::FxHashMap;πuse rustc_data_structures::fx::FxIndexMap;πuse rustc_data_structures::fx::IndexEntry;πuse rustc_hir::def_id::DefId;πuse rustc_hir::def_id::LocalDefId;πuse rustc_hir::CRATE_HIR_ID;πuse rustc_hir::HirId;πuse rustc_lint_defs::builtin::LONG_RUNNING_CONST_EVAL;πuse rustc_middle::mir::AssertMessage;πuse rustc_middle::mir::interpret::ReportedErrorInfo;πuse rustc_middle::query::TyCtxtAt;πuse rustc_middle::ty::layout::HasTyCtxt;πuse rustc_middle::ty::layout::HasTypingEnv;πuse rustc_middle::ty::layout::TyAndLayout;πuse rustc_middle::ty::layout::ValidityRequirement;πuse rustc_middle::ty;πuse rustc_middle::ty::FieldInfo;πuse rustc_middle::ty::ScalarInt;πuse rustc_middle::ty::Ty;πuse rustc_middle::ty::TyCtxt;πuse rustc_middle::mir;πuse rustc_middle::throw_machine_stop;πuse rustc_span::Span;πuse rustc_span::Symbol;πuse rustc_span::bug;πuse rustc_span::span_bug;πuse rustc_span::sym;πuse rustc_target::callconv::FnAbi;πuse tracing::debug;πuse crate::diagnostics::LongRunning;πuse crate::diagnostics::LongRunningWarn;πuse crate::interpret;πuse crate::interpret::AllocId;πuse crate::interpret::AllocInit;πuse crate::interpret::AllocRange;πuse crate::interpret::ConstAllocation;πuse crate::interpret::CtfeProvenance;πuse crate::interpret::FnArg;πuse crate::interpret::Frame;πuse crate::interpret::GlobalAlloc;πuse crate::interpret::ImmTy;πuse crate::interpret::Immediate;πuse crate::interpret::InterpCx;πuse crate::interpret::InterpResult;πuse crate::interpret::OpTy;πuse crate::interpret::PlaceTy;πuse crate::interpret::Pointer;πuse crate::interpret::RangeSet;πuse crate::interpret::RetagMode;πuse crate::interpret::Scalar;πuse crate::interpret::compile_time_machine;πuse crate::interpret::ensure_monomorphic_enough;πuse crate::interpret::err_inval;πuse crate::interpret::interp_ok;πuse crate::interpret::throw_exhaust;πuse crate::interpret::throw_inval;πuse crate::interpret::throw_ub;πuse crate::interpret::throw_ub_format;πuse crate::interpret::throw_unsup;πuse crate::interpret::throw_unsup_format;πuse crate::interpret::type_implements_dyn_trait;πuse super::error::*;π
StructsΒ§
- Compile
Time Machine - Extra machine state for CTFE, and the Machine instance.
EnumsΒ§
ConstantsΒ§
- LINT_
TERMINATOR_ πLIMIT - When hitting this many interpreted terminators we emit a deny by default lint that notfies the user that their constant takes a long time to evaluate. If thatβs what they intended, they can just allow the lint.
- PROGRESS_
INDICATOR_ πSTART - After this many interpreted terminators, we start emitting progress indicators at every power of two of interpreted terminators.
- TINY_
LINT_ πTERMINATOR_ LIMIT - The limit used by
-Z tiny-const-eval-limit. This smaller limit is useful for internal tests not needing to run 30s or more to show some behaviour.