about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorJohannes Hostert <jhostert@ethz.ch>2024-08-25 17:33:01 +0200
committerJohannes Hostert <jhostert@ethz.ch>2024-08-27 15:24:23 +0200
commit2765444c15617b234a38a736fd7d7c1c0e1024df (patch)
tree5e13ba7f176387a6931a14d2b3cf6cebd4445b1b /compiler/rustc_mir_transform/src/coverage/query.rs
parent9b82f3b729d15fca2a7e415f11e08f84e04effb1 (diff)
downloadrust-2765444c15617b234a38a736fd7d7c1c0e1024df.tar.gz
rust-2765444c15617b234a38a736fd7d7c1c0e1024df.zip
Make TB tree traversal bottom-up
In preparation for #3837, the tree traversal needs to be made bottom-up,
because the current top-down tree traversal, coupled with that PR's
changes to the garbage collector, can introduce non-deterministic error
messages if the GC removes a parent tag of the accessed tag that would
have triggered the error first.

This is a breaking change for the diagnostics emitted by TB. The
implemented semantics stay the same.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions