fn link_addr_of(rcx: &mut Rcx, expr: &hir::Expr,
                mutability: hir::Mutability, base: &hir::Expr) {
    debug!("link_addr_of(expr={:?}, base={:?})", expr, base);

    let cmt = {
        let mc = mc::MemCategorizationContext::new(rcx.fcx.infcx());
        ignore_err!(mc.cat_expr(base))
    };

    debug!("link_addr_of: cmt={:?}", cmt);

    link_region_from_node_type(rcx, expr.span, expr.id, mutability, cmt);
}
/// Computes the guarantor for an expression `&base` and then ensures that the lifetime of the
/// resulting pointer is linked to the lifetime of its guarantor (if any).
Computes the guarantor for an expression `&base` and then ensures that the lifetime of the
resulting pointer is linked to the lifetime of its guarantor (if any).
Computes the guarantor for an expression ` &base ` and then ensures that the lifetime of the resulting pointer is linked to the lifetime of its guarantor ( if any ) .
fn link_addr_of(rcx: &mut Rcx, expr: &hir::Expr,
                mutability: hir::Mutability, base: &hir::Expr) {
    debug!("link_addr_of(expr={:?}, base={:?})", expr, base);
    let cmt = {
        let mc = mc::MemCategorizationContext::new(rcx.fcx.infcx());
        ignore_err!(mc.cat_expr(base))
    };
    debug!("link_addr_of: cmt={:?}", cmt);
    link_region_from_node_type(rcx, expr.span, expr.id, mutability, cmt);
}
fn link_addr_of ( rcx : & mut Rcx , expr : & hir :: Expr , mutability : hir :: Mutability , base : & hir :: Expr ) { debug ! ( " " expr base ) ; let cmt = { let mc = mc :: MemCategorizationContext :: new ( rcx . fcx . infcx ( ) ) ; ignore_err ! ( mc cat_expr ( base ) ) } ; debug ! ( " " cmt ) ; link_region_from_node_type ( rcx , expr . span , expr . id , mutability , cmt ) ; }
Computes the guarantor for an expression `&base` and then ensures that the lifetime of the
resulting pointer is linked to the lifetime of its guarantor (if any).
Computes the guarantor for an expression ` &base ` and then ensures that the lifetime of the resulting pointer is linked to the lifetime of its guarantor ( if any ) .
rcx
&mut Rcx
expr
&hir::Expr
mutability
hir::Mutability
base
&hir::Expr
rcx
&mut Rcx
expr
&hir::Expr
mutability
hir::Mutability
base
&hir::Expr