Function rustc_mir::borrow_check::path_utils::allow_two_phase_borrow[−][src]

pub(super) fn allow_two_phase_borrow(kind: BorrowKind) -> bool

Returns true if the borrow represented by kind is allowed to be split into separate Reservation and Activation phases.