diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-18 20:53:08 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-18 20:53:08 +0100 |
| commit | b4d739ef1285bc983383ec726314d9455f6bfb77 (patch) | |
| tree | 52fd9101c6bc8743f509d400072f36cad0859884 /compiler/rustc_target/src | |
| parent | 37efc8107293edb5970551920ba1128240b87c68 (diff) | |
| download | rust-b4d739ef1285bc983383ec726314d9455f6bfb77.tar.gz rust-b4d739ef1285bc983383ec726314d9455f6bfb77.zip | |
Use `#[derive]` instead of custom syntax in all `newtype_index`
Diffstat (limited to 'compiler/rustc_target/src')
| -rw-r--r-- | compiler/rustc_target/src/abi/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/abi/mod.rs b/compiler/rustc_target/src/abi/mod.rs index 53c9878ab87..c60de3cb0b2 100644 --- a/compiler/rustc_target/src/abi/mod.rs +++ b/compiler/rustc_target/src/abi/mod.rs @@ -20,8 +20,8 @@ impl ToJson for Endian { } rustc_index::newtype_index! { + #[derive(HashStable_Generic)] pub struct VariantIdx { - derive [HashStable_Generic] } } |
