add note why a function is pub
This commit is contained in:
parent
b012615286
commit
af8a318aa1
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ impl<'tcx> OutOfScopePrecomputer<'_, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
// 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>(
|
||||
body: &Body<'tcx>,
|
||||
regioncx: &RegionInferenceContext<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue