Skip to content

Commit 4da5fe7

Browse files
committed
Fix derive syntax.
1 parent 7db84e8 commit 4da5fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1589,8 +1589,8 @@ rustc_index::newtype_index! {
15891589
/// declared, but a type name in a non-zero universe is a placeholder
15901590
/// type -- an idealized representative of "types in general" that we
15911591
/// use for checking generic functions.
1592-
#[derive(HashStable)]
15931592
pub struct UniverseIndex {
1593+
derive [HashStable]
15941594
DEBUG_FORMAT = "U{}",
15951595
}
15961596
}

0 commit comments

Comments
 (0)