We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
newtype_index!
1 parent 818e343 commit 05731b0Copy full SHA for 05731b0
src/librustc/ty/sty.rs
@@ -899,7 +899,7 @@ pub struct RegionVid {
899
pub index: u32,
900
}
901
902
-// TODO after rebasing, should be able to use `newtype_index!`
+// FIXME: We could convert this to use `newtype_index!`
903
impl Idx for RegionVid {
904
fn new(value: usize) -> Self {
905
assert!(value < ::std::u32::MAX as usize);
0 commit comments