Skip to main content
Module eval_context
rustc_
const_
eval
1.98.0-nightly
(beae78130 2026-06-09)
Module eval_
context
Module Items
Structs
Functions
In rustc_
const_
eval::
interpret
rustc_const_eval
::
interpret
Module
eval_
context
Copy item path
Source
Structs
ยง
Interp
Cx
Functions
ยง
format_
interp_
error
Turn the given error into a human-readable string. Expects the string to be printed, so if
RUSTC_CTFE_BACKTRACE
is set this will show a backtrace of the rustc internals that triggered the error.
from_
known_
layout
๐
Use the already known layout if given (but sanity check in debug mode), or compute the layout.
mir_
assign_
valid_
types
๐
Test if it is valid for a MIR assignment to assign
src
-typed place to
dest
-typed value.