about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-17 20:46:53 +0000
committerbors <bors@rust-lang.org>2023-10-17 20:46:53 +0000
commit09df6108c84fdec400043d99d9ee232336fd5a9f (patch)
tree500cce38efb03b49ce5fb6538b5d50597ac7296b /compiler/rustc_middle/src
parent94ba57cef4987cfc1aee063ff459bcd2ff2f3fab (diff)
parent1f90d857d75a3e6696a5ac731d2ae601f647fb7b (diff)
downloadrust-09df6108c84fdec400043d99d9ee232336fd5a9f.tar.gz
rust-09df6108c84fdec400043d99d9ee232336fd5a9f.zip
Auto merge of #116767 - cjgillot:alloc-normalize, r=oli-obk
Normalize alloc-id in tests.

AllocIds are globally numbered in a rustc invocation. This makes them very sensitive to changes unrelated to what is being tested. This commit normalizes them by renumbering, in order of appearance in the output.

The renumbering allows to keep the identity, that a simple `allocN` wouldn't. This is useful when we have memory dumps.

cc `@saethlin`
r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_middle/src')
0 files changed, 0 insertions, 0 deletions