diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-07-25 16:37:05 +0300 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-07-25 16:37:05 +0300 |
| commit | d85a7da8fedf5b3d29cd47a1f06f41f5a1f76137 (patch) | |
| tree | 0853f26e3b37ade53f9586b5b6a3fc4ba9cb57ee | |
| parent | e43096ff054d25fe6825f7c07af10e14e5c000d0 (diff) | |
| download | rust-d85a7da8fedf5b3d29cd47a1f06f41f5a1f76137.tar.gz rust-d85a7da8fedf5b3d29cd47a1f06f41f5a1f76137.zip | |
Nit: fix Debug impl of `PlaceholderIndex`
| -rw-r--r-- | src/librustc_mir/borrow_check/nll/region_infer/values.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
