diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-06-30 19:11:09 +0000 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-10-05 15:25:46 +0000 |
| commit | af8a318aa1c38cc37a5889a2f50ac09589b0c6eb (patch) | |
| tree | be2edec6e320cbfee50719587319147b883f85b7 | |
| parent | b01261528655a27c57ff9a229702cba1b660743a (diff) | |
| download | rust-af8a318aa1c38cc37a5889a2f50ac09589b0c6eb.tar.gz rust-af8a318aa1c38cc37a5889a2f50ac09589b0c6eb.zip | |
add note why a function is pub
| -rw-r--r-- | compiler/rustc_borrowck/src/dataflow.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_borrowck/src/dataflow.rs b/compiler/rustc_borrowck/src/dataflow.rs index 031dbe299d1..a615b383fee 100644 --- a/compiler/rustc_borrowck/src/dataflow.rs +++ b/compiler/rustc_borrowck/src/dataflow.rs @@ -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>, |
