Skip to content

Commit 05731b0

Browse files
committed
add FIXME for converting RegionVid to use newtype_index!
1 parent 818e343 commit 05731b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/sty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ pub struct RegionVid {
899899
pub index: u32,
900900
}
901901

902-
// TODO after rebasing, should be able to use `newtype_index!`
902+
// FIXME: We could convert this to use `newtype_index!`
903903
impl Idx for RegionVid {
904904
fn new(value: usize) -> Self {
905905
assert!(value < ::std::u32::MAX as usize);

0 commit comments

Comments
 (0)