Function rustc_mir::build::construct_fn
[−]
[src]
pub fn construct_fn<'a, 'gcx, 'tcx, A>(hir: Cx<'a, 'gcx, 'tcx>,
fn_id: NodeId,
arguments: A,
abi: Abi,
return_ty: Ty<'gcx>,
body: &'gcx Body)
-> Mir<'tcx> where A: Iterator<Item=(Ty<'gcx>, Option<&'gcx Pat>)>
🔬 This is a nightly-only experimental API. (
rustc_private
)the main entry point for building MIR for a function