Skip to content

Commit

Permalink
fixup! rename debugging support functions
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Nov 13, 2023
1 parent 3e24716 commit f130e69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/rustc_borrowck/src/region_infer/values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ impl LivenessValues {
/// live.
pub(crate) fn region_value_str(&self, region: RegionVid) -> String {
pretty_print_region_elements(
self.live_points(region)
.map(move |p| RegionElement::Location(self.elements.to_location(p))),
self.live_points(region).map(|p| RegionElement::Location(self.elements.to_location(p))),
)
}

Expand Down

0 comments on commit f130e69

Please sign in to comment.