diff options
| author | bors <bors@rust-lang.org> | 2022-01-09 16:03:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-01-09 16:03:41 +0000 |
| commit | 092e1c9d23158d81be27bb6f71bdd0c6282478fb (patch) | |
| tree | 96b938d24dac068feed482ea7175239623c4a453 /src/test/incremental | |
| parent | f7bb8e3677ba4277914e85a3060e5d69151aed44 (diff) | |
| parent | 467b72607dcb1621ef960dd2179c876b0993b988 (diff) | |
| download | rust-092e1c9d23158d81be27bb6f71bdd0c6282478fb.tar.gz rust-092e1c9d23158d81be27bb6f71bdd0c6282478fb.zip | |
Auto merge of #92534 - Aaron1011:hash-hir, r=petrochenkov
Hash `Ident` spans in all HIR structures This PR removes all of the `#[stable_hasher(project(name))]` attributes used in HIR structs. While these attributes are not known to be causing any issues in practice, we need to hash these in order for the incremental system to work correctly - a query could be otherwise be incorrectly marked green when a change occures in one of the `Span`s that it uses.
Diffstat (limited to 'src/test/incremental')
| -rw-r--r-- | src/test/incremental/hashes/trait_defs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/incremental/hashes/trait_defs.rs b/src/test/incremental/hashes/trait_defs.rs index b72ec404f67..14d6fc87198 100644 --- a/src/test/incremental/hashes/trait_defs.rs +++ b/src/test/incremental/hashes/trait_defs.rs @@ -400,7 +400,7 @@ trait TraitAddUnsafeModifier { #[cfg(not(any(cfail1,cfail4)))] #[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail3")] -#[rustc_clean(cfg="cfail5")] +#[rustc_clean(except="hir_owner", cfg="cfail5")] #[rustc_clean(cfg="cfail6")] trait TraitAddUnsafeModifier { #[rustc_clean(except="hir_owner,fn_sig", cfg="cfail2")] @@ -425,7 +425,7 @@ trait TraitAddExternModifier { #[cfg(not(any(cfail1,cfail4)))] #[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail3")] -#[rustc_clean(cfg="cfail5")] +#[rustc_clean(except="hir_owner", cfg="cfail5")] #[rustc_clean(cfg="cfail6")] trait TraitAddExternModifier { #[rustc_clean(except="hir_owner,fn_sig", cfg="cfail2")] |
