Skip to content

Commit d85a7da

Browse files
committed
Nit: fix Debug impl of PlaceholderIndex
1 parent e43096f commit d85a7da

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_mir/borrow_check/nll/region_infer

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/nll/region_infer/values.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ newtype_index!(PointIndex { DEBUG_FORMAT = "PointIndex({})" });
102102
/// Computed just by subtracting one from `UniverseIndex`; this is
103103
/// because the `0` value for `UniverseIndex` represents the root
104104
/// universe, and we don't need/want a bit for that one.
105-
newtype_index!(PlaceholderIndex { DEBUG_FORMAT = "PointIndex({})" });
105+
newtype_index!(PlaceholderIndex { DEBUG_FORMAT = "PlaceholderIndex({})" });
106106

107107
/// An individual element in a region value -- the value of a
108108
/// particular region variable consists of a set of these elements.

0 commit comments

Comments
 (0)