Function rustc_trans::trans::expr::transExperimental [-]  [+] [src]

pub fn trans<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, expr: &Expr) -> DatumBlock<'blk, 'tcx, Expr>

Translates an expression, returning a datum (and new block) encapsulating the result. When possible, it is preferred to use trans_into, as that may avoid creating a temporary on the stack.