We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4500fe0 commit 9c63714Copy full SHA for 9c63714
src/librustc_mir/dataflow/impls/borrows.rs
@@ -66,10 +66,13 @@ fn precompute_borrows_out_of_scope<'a, 'tcx>(
66
let mut visited = FxHashSet();
67
visited.insert(location);
68
69
+ debug!("borrow {:?} starts at {:?}", borrow_index, location);
70
+
71
while let Some(location) = stack.pop() {
72
// If region does not contain a point at the location, then add to list and skip
73
// successor locations.
74
if !regioncx.region_contains_point(borrow_region, location) {
75
+ debug!("borrow {:?} gets killed at {:?}", borrow_index, location);
76
borrows_out_of_scope_at_location
77
.entry(location)
78
.or_insert(vec![])
0 commit comments