Function rustc::middle::borrowck::opt_loan_path[src]
pub fn opt_loan_path(cmt: &cmt) -> Option<Rc<LoanPath>>
Computes the LoanPath (if any) for a cmt.
Note that this logic is somewhat duplicated in
the method compute() found in gather_loans::restrictions,
which allows it to share common loan path pieces as it
traverses the CMT.