Visit place in BackwardIncompatibleDropHint statement

This commit is contained in:
Michael Goulet
2025-04-13 22:01:54 +00:00
parent 51548ce71f
commit 2f96e784e2
8 changed files with 19 additions and 25 deletions

View File

@@ -1301,7 +1301,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, '_, 'tcx> {
error_reported
}
/// Through #123739, backward incompatible drops (BIDs) are introduced.
/// Through #123739, `BackwardIncompatibleDropHint`s (BIDs) are introduced.
/// We would like to emit lints whether borrow checking fails at these future drop locations.
#[instrument(level = "debug", skip(self, state))]
fn check_backward_incompatible_drop(