From d85a7da8fedf5b3d29cd47a1f06f41f5a1f76137 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 25 Jul 2018 16:37:05 +0300 Subject: [PATCH] Nit: fix Debug impl of `PlaceholderIndex` --- src/librustc_mir/borrow_check/nll/region_infer/values.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/borrow_check/nll/region_infer/values.rs b/src/librustc_mir/borrow_check/nll/region_infer/values.rs index dad38a1e512..290277b1d08 100644 --- a/src/librustc_mir/borrow_check/nll/region_infer/values.rs +++ b/src/librustc_mir/borrow_check/nll/region_infer/values.rs @@ -102,7 +102,7 @@ newtype_index!(PointIndex { DEBUG_FORMAT = "PointIndex({})" }); /// Computed just by subtracting one from `UniverseIndex`; this is /// because the `0` value for `UniverseIndex` represents the root /// universe, and we don't need/want a bit for that one. -newtype_index!(PlaceholderIndex { DEBUG_FORMAT = "PointIndex({})" }); +newtype_index!(PlaceholderIndex { DEBUG_FORMAT = "PlaceholderIndex({})" }); /// An individual element in a region value -- the value of a /// particular region variable consists of a set of these elements.