]> git.lizzy.rs Git - rust.git/commitdiff
Fix `debug!` to reflect rename of `explain_why_borrow_contains_point`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 28 Sep 2018 09:50:26 +0000 (11:50 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 5 Oct 2018 08:39:39 +0000 (10:39 +0200)
src/librustc_mir/borrow_check/nll/explain_borrow/mod.rs

index 7d6e5dcabb1041209f1c15a4a6af5462e5036201..5092cd4a8b924307f365a70c85882fad9a2e033e 100644 (file)
@@ -115,7 +115,7 @@ pub(in borrow_check) fn explain_why_borrow_contains_point(
         kind_place: Option<(WriteKind, &Place<'tcx>)>,
     ) -> BorrowExplanation<'tcx> {
         debug!(
-            "find_why_borrow_contains_point(context={:?}, borrow={:?})",
+            "explain_why_borrow_contains_point(context={:?}, borrow={:?})",
             context, borrow,
         );