Use #[derive] instead of custom syntax in all newtype_index

This commit is contained in:
Nilstrieb
2022-12-18 20:53:08 +01:00
parent 37efc81072
commit b4d739ef12
7 changed files with 14 additions and 26 deletions

View File

@@ -147,8 +147,8 @@ rustc_index::newtype_index! {
///
/// * The subscope with `first_statement_index == 1` is scope of `c`,
/// and thus does not include EXPR_2, but covers the `...`.
#[derive(HashStable)]
pub struct FirstStatementIndex {
derive [HashStable]
}
}