]> git.lizzy.rs Git - rust.git/commitdiff
Nit: fix Debug impl of `PlaceholderIndex`
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 25 Jul 2018 13:37:05 +0000 (16:37 +0300)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 25 Jul 2018 13:37:05 +0000 (16:37 +0300)
src/librustc_mir/borrow_check/nll/region_infer/values.rs

index dad38a1e51240e17a37af097312d8e55917ecbb2..290277b1d085c8c66acd93a4f80f82e24be5f4f9 100644 (file)
@@ -102,7 +102,7 @@ fn point_from_location(&self, location: Location) -> 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.