pub fn resolve_expr_type_adjusted(&mut self, expr: &ast::Expr) -> ty::t {
        let ty_unadjusted = self.resolve_node_type(expr.id);
        if ty::type_is_error(ty_unadjusted) || ty::type_is_bot(ty_unadjusted) {
            ty_unadjusted
        } else {
            let tcx = self.fcx.tcx();
            let adjustment = {
                let adjustments = self.fcx.inh.adjustments.borrow();
                adjustments.get().find_copy(&expr.id)
            };
            ty::adjust_ty(tcx, expr.span, ty_unadjusted, adjustment)
        }
    }
/// Try to resolve the type for the given node.
Try to resolve the type for the given node.
Try to resolve the type for the given node .
pub fn resolve_expr_type_adjusted(&mut self, expr: &ast::Expr) -> ty::t {
        let ty_unadjusted = self.resolve_node_type(expr.id);
        if ty::type_is_error(ty_unadjusted) || ty::type_is_bot(ty_unadjusted) {
            ty_unadjusted
        } else {
            let tcx = self.fcx.tcx();
            let adjustment = {
                let adjustments = self.fcx.inh.adjustments.borrow();
                adjustments.get().find_copy(&expr.id)
            };
            ty::adjust_ty(tcx, expr.span, ty_unadjusted, adjustment)
        }
    }
pub fn resolve_expr_type_adjusted ( & mut self , expr : & ast :: Expr ) -> ty :: t { let ty_unadjusted = self . resolve_node_type ( expr . id ) ; if ty :: type_is_error ( ty_unadjusted ) || ty :: type_is_bot ( ty_unadjusted ) { ty_unadjusted } else { let tcx = self . fcx . tcx ( ) ; let adjustment = { let adjustments = self . fcx . inh . adjustments . borrow ( ) ; adjustments . get ( ) . find_copy ( & expr . id ) } ; ty :: adjust_ty ( tcx , expr . span , ty_unadjusted , adjustment ) } }
Try to resolve the type for the given node.
Try to resolve the type for the given node .
&mut self
expr
&ast::Expr
&mut self
expr
&ast::Expr