Function rustc_trans::middle::borrowck::opt_loan_pathExperimental
[-]
[+]
[src]
pub fn opt_loan_path(cmt: &Rc<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.