pub fn as_temp<M>(&mut self,
                      block: BasicBlock,
                      temp_lifetime: Option<region::Scope>,
                      expr: M)
                      -> BlockAnd<Local>
        where M: Mirror<'tcx, Output = Expr<'tcx>>
    {
        let expr = self.hir.mirror(expr);
        self.expr_as_temp(block, temp_lifetime, expr)
    }
/// Compile `expr` into a fresh temporary. This is used when building
/// up rvalues so as to freeze the value that will be consumed.
Compile `expr` into a fresh temporary. This is used when building
up rvalues so as to freeze the value that will be consumed.
Compile ` expr ` into a fresh temporary . This is used when building up rvalues so as to freeze the value that will be consumed .
pub fn as_temp<M>(&mut self,
                      block: BasicBlock,
                      temp_lifetime: Option<region::Scope>,
                      expr: M)
                      -> BlockAnd<Local>
        where M: Mirror<'tcx, Output = Expr<'tcx>>
    {
        let expr = self.hir.mirror(expr);
        self.expr_as_temp(block, temp_lifetime, expr)
    }
pub fn as_temp < M > ( & mut self , block : BasicBlock , temp_lifetime : Option < region :: Scope > , expr : M ) -> BlockAnd < Local > where M : Mirror < ' tcx , Output = Expr < ' tcx > > { let expr = self . hir . mirror ( expr ) ; self . expr_as_temp ( block , temp_lifetime , expr ) }
Compile `expr` into a fresh temporary.
Compile ` expr ` into a fresh temporary .
&mut self
block
BasicBlock
temp_lifetime
Option<region::Scope>
expr
M