Module rustc_const_eval::interpret::eval_context
source ยท Structsยง
- A stack frame.
- What we store about a frame in an interpreter backtrace.
- State of a local variable including a memoized layout
- SpanGuard ๐
- Return type of
InterpCx::pop_stack_frame
.
Enumsยง
- LocalValue ๐Current value of a local variable
Functionsยง
- 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.
- Test if it is valid for a MIR assignment to assign
src
-typed place todest
-typed value. This test should be symmetric, as it is primarily about layout compatibility.