[][src]Module rustc_mir::const_eval

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Modules

errorInternal
eval_queriesInternal
fn_queriesInternal
machineInternal

Structs

CompileTimeInterpreterInternal
MemoryExtraInternal

Enums

ConstEvalErrKindInternal

The CTFE machine has some custom error kinds.

Functions

const_caller_locationInternal
const_eval_raw_providerInternal
const_eval_validated_providerInternal
const_fieldInternal

Extracts a field of a (variant of a) const.

destructure_constInternal
error_to_const_errorInternal

Turn an interpreter error into something to report to the user. As a side-effect, if RUSTC_CTFE_BACKTRACE is set, this prints the backtrace. Should be called only if the error is actually going to to be reported!

is_const_fnInternal

Whether the def_id counts as const fn in your current crate, considering all active feature gates

is_min_const_fnInternal

Returns true if this function must conform to min_const_fn

is_parent_const_impl_rawInternal
is_unstable_const_fnInternal

Whether the def_id is an unstable const fn and what feature gate is necessary to enable it

note_on_undefined_behavior_errorInternal
provideInternal