rustc_borrowck::path_utils

Function borrow_of_local_data

source
pub(crate) fn borrow_of_local_data(place: Place<'_>) -> bool
Expand description

Determines if a given borrow is borrowing local data This is called for all Yield expressions on movable coroutines