Skip to main content

Module call

Module call 

Source
Expand description

Manages calling a concrete function (with known MIR body) with argument passing, and returning the return value to the caller.

Re-exportsยง

use std::assert_matches; ๐Ÿ”’
use std::borrow::Cow; ๐Ÿ”’
use either::Left; ๐Ÿ”’
use either::Right; ๐Ÿ”’
use rustc_abi as abi; ๐Ÿ”’
use rustc_abi::ExternAbi; ๐Ÿ”’
use rustc_abi::FieldIdx; ๐Ÿ”’
use rustc_abi::Integer; ๐Ÿ”’
use rustc_abi::VariantIdx; ๐Ÿ”’
use rustc_attr_ir::find_attr; ๐Ÿ”’
use rustc_hir::def_id::DefId; ๐Ÿ”’
use rustc_middle::mir; ๐Ÿ”’
use rustc_middle::ty::layout::IntegerExt; ๐Ÿ”’
use rustc_middle::ty::layout::TyAndLayout; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_middle::ty::AdtDef; ๐Ÿ”’
use rustc_middle::ty::FieldDef; ๐Ÿ”’
use rustc_middle::ty::Instance; ๐Ÿ”’
use rustc_middle::ty::Ty; ๐Ÿ”’
use rustc_middle::ty::VariantDef; ๐Ÿ”’
use rustc_span::bug; ๐Ÿ”’
use rustc_span::span_bug; ๐Ÿ”’
use rustc_target::callconv::ArgAbi; ๐Ÿ”’
use rustc_target::callconv::FnAbi; ๐Ÿ”’
use tracing::field::Empty; ๐Ÿ”’
use tracing::info; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use tracing::trace; ๐Ÿ”’
use super::CtfeProvenance; ๐Ÿ”’
use super::EnteredTraceSpan; ๐Ÿ”’
use super::FnVal; ๐Ÿ”’
use super::ImmTy; ๐Ÿ”’
use super::InterpCx; ๐Ÿ”’
use super::InterpResult; ๐Ÿ”’
use super::MPlaceTy; ๐Ÿ”’
use super::Machine; ๐Ÿ”’
use super::OpTy; ๐Ÿ”’
use super::PlaceTy; ๐Ÿ”’
use super::Projectable; ๐Ÿ”’
use super::Provenance; ๐Ÿ”’
use super::RetagMode; ๐Ÿ”’
use super::ReturnAction; ๐Ÿ”’
use super::ReturnContinuation; ๐Ÿ”’
use super::Scalar; ๐Ÿ”’
use super::interp_ok; ๐Ÿ”’
use super::throw_ub; ๐Ÿ”’
use super::throw_ub_format; ๐Ÿ”’
use crate::enter_trace_span; ๐Ÿ”’

Enumsยง

FnArg
An argument passed to a function.