about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-11-07 05:55:34 -0500
committerNiko Matsakis <niko@alum.mit.edu>2017-11-16 05:57:50 -0500
commit9da54c1ac83655088a6d1f1abd63a77770e5e1cd (patch)
treed9ea8197982e6fe16a74784af2ca1c65c2d238c6
parent267574c8dfce8c7e6cc910e18d280c278544df26 (diff)
downloadrust-9da54c1ac83655088a6d1f1abd63a77770e5e1cd.tar.gz
rust-9da54c1ac83655088a6d1f1abd63a77770e5e1cd.zip
add FIXME for converting RegionVid to use `newtype_index!`
-rw-r--r--src/librustc/ty/sty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/sty.rs b/src/librustc/ty/sty.rs
index a73b234ffbe..c68907e689a 100644
--- a/src/librustc/ty/sty.rs
+++ b/src/librustc/ty/sty.rs
@@ -899,7 +899,7 @@ pub struct RegionVid {
     pub index: u32,
 }
 
-// TODO after rebasing, should be able to use `newtype_index!`
+// FIXME: We could convert this to use `newtype_index!`
 impl Idx for RegionVid {
     fn new(value: usize) -> Self {
         assert!(value < ::std::u32::MAX as usize);