about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMartin Nordholts <martin.nordholts@codetale.se>2024-01-03 06:35:31 +0100
committerMartin Nordholts <martin.nordholts@codetale.se>2024-01-05 20:55:32 +0100
commit95eb5bcb67b97e7a1f3f6e6e68b3a8a0737ca24e (patch)
tree5042a8d80542c32e217a969ad27fe6fe73d2739f /compiler/rustc_pattern_analysis/src
parent11035f9f52c65739d9613f5b9ecd332e9e640e71 (diff)
downloadrust-95eb5bcb67b97e7a1f3f6e6e68b3a8a0737ca24e.tar.gz
rust-95eb5bcb67b97e7a1f3f6e6e68b3a8a0737ca24e.zip
rustc_mir_transform: Make DestinationPropagation stable for queries
By using FxIndexMap instead of FxHashMap, so that the order of visiting
of locals is deterministic.

We also need to bless
copy_propagation_arg.foo.DestinationPropagation.panic*.diff. Do not
review the diff of the diff. Instead look at the diff file before and
after this commit. Both before and after this commit, 3 statements are
replaced with nop. It's just that due to change in ordering, different
statements are replaced. But the net result is the same.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions