Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/librustc_mir/borrow_check/nll/facts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ crate struct AllFacts {

// `region_live_at(R, P)` when the region R appears in a live variable at P
crate region_live_at: Vec<(RegionVid, LocationIndex)>,

// `invalidates(P, B)` when the borrow B is invalidated at point P
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

man I want to change from Borrow terminology to Loan. =)

crate invalidates: Vec<(LocationIndex, BorrowIndex)>,
}

impl AllFacts {
Expand Down Expand Up @@ -69,6 +72,7 @@ impl AllFacts {
killed,
outlives,
region_live_at,
invalidates,
])
}
Ok(())
Expand Down
Loading