Function rustc_borrowck::path_utils::allow_two_phase_borrow

source ยท
pub(crate) fn allow_two_phase_borrow(kind: BorrowKind) -> bool
Expand description

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