]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/attr.rs
rollup merge of #21457: alexcrichton/issue-21436
[rust.git] / src / libsyntax / attr.rs
index 856237f2155bd3d2f7476334ea4dcdd0b3171f00..59471488af9ad8045530e86249fb60ff8c29ee3c 100644 (file)
@@ -170,7 +170,7 @@ pub fn mk_word_item(name: InternedString) -> P<MetaItem> {
     P(dummy_spanned(MetaWord(name)))
 }
 
-thread_local! { static NEXT_ATTR_ID: Cell<uint> = Cell::new(0) }
+thread_local! { static NEXT_ATTR_ID: Cell<usize> = Cell::new(0) }
 
 pub fn mk_attr_id() -> AttrId {
     let id = NEXT_ATTR_ID.with(|slot| {