Function rustc_borrowck::path_utils::allow_two_phase_borrow [−][src]
pub(crate) fn allow_two_phase_borrow(kind: BorrowKind) -> boolExpand description
Returns true if the borrow represented by kind is
allowed to be split into separate Reservation and
Activation phases.