Commit 092e1c9
committed
Auto merge of rust-lang#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.File tree
2 files changed
+2
-10
lines changed- compiler/rustc_hir/src
- src/test/incremental/hashes
2 files changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
| |||
850 | 849 | | |
851 | 850 | | |
852 | 851 | | |
853 | | - | |
854 | 852 | | |
855 | 853 | | |
856 | 854 | | |
| |||
2127 | 2125 | | |
2128 | 2126 | | |
2129 | 2127 | | |
2130 | | - | |
2131 | 2128 | | |
2132 | 2129 | | |
2133 | 2130 | | |
| |||
2515 | 2512 | | |
2516 | 2513 | | |
2517 | 2514 | | |
2518 | | - | |
2519 | 2515 | | |
2520 | 2516 | | |
2521 | 2517 | | |
| |||
2605 | 2601 | | |
2606 | 2602 | | |
2607 | 2603 | | |
2608 | | - | |
2609 | 2604 | | |
2610 | 2605 | | |
2611 | 2606 | | |
| |||
2864 | 2859 | | |
2865 | 2860 | | |
2866 | 2861 | | |
2867 | | - | |
2868 | 2862 | | |
2869 | 2863 | | |
2870 | 2864 | | |
| |||
2880 | 2874 | | |
2881 | 2875 | | |
2882 | 2876 | | |
2883 | | - | |
2884 | 2877 | | |
2885 | 2878 | | |
2886 | 2879 | | |
| |||
2919 | 2912 | | |
2920 | 2913 | | |
2921 | 2914 | | |
2922 | | - | |
2923 | 2915 | | |
2924 | 2916 | | |
2925 | 2917 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
| 428 | + | |
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| |||
0 commit comments