Function rustc::middle::trans::closure::trans_expr_fn[src]
pub fn trans_expr_fn<'a>(bcx: &'a Block<'a>, store: TraitStore, decl: &FnDecl, body: &Block, id: NodeId, dest: Dest) -> &'a Block<'a>
*
* Translates the body of a closure expression.
*
* - store
* - decl
* - body
* - id: The id of the closure expression.
* - cap_clause: information about captured variables, if any.
* - dest: where to write the closure value, which must be a
(fn ptr, env) pair