add note why a function is pub
This commit is contained in:
parent
b012615286
commit
af8a318aa1
@ -222,6 +222,7 @@ fn precompute_borrows_out_of_scope(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is `pub` because it's used by unstable external borrowck data users, see `consumers.rs`.
|
||||||
pub fn calculate_borrows_out_of_scope_at_location<'tcx>(
|
pub fn calculate_borrows_out_of_scope_at_location<'tcx>(
|
||||||
body: &Body<'tcx>,
|
body: &Body<'tcx>,
|
||||||
regioncx: &RegionInferenceContext<'tcx>,
|
regioncx: &RegionInferenceContext<'tcx>,
|
||||||
|
Loading…
Reference in New Issue
Block a user