add useful debug
This commit is contained in:
parent
8e783da222
commit
f93d5d30bd
1 changed files with 8 additions and 0 deletions
|
|
@ -843,6 +843,14 @@ impl<'cx, 'gcx, 'tcx> MirBorrowckCtxt<'cx, 'gcx, 'tcx> {
|
|||
rw: ReadOrWrite,
|
||||
flow_state: &Flows<'cx, 'gcx, 'tcx>,
|
||||
) -> bool {
|
||||
debug!(
|
||||
"check_access_for_conflict(context={:?}, place_span={:?}, sd={:?}, rw={:?})",
|
||||
context,
|
||||
place_span,
|
||||
sd,
|
||||
rw,
|
||||
);
|
||||
|
||||
let mut error_reported = false;
|
||||
self.each_borrow_involving_path(
|
||||
context,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue