Function rustc_borrowck::borrowck::check_loans::owned_ptr_base_path [−][src]
fn owned_ptr_base_path<'a, 'tcx>(
loan_path: &'a LoanPath<'tcx>
) -> &'a LoanPath<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Returns the base of the leftmost dereference of an Unique in
loan_path
. If there is no dereference of an Unique in loan_path
,
then it just returns loan_path
itself.