diff options
| author | Johannes Hostert <jhostert@ethz.ch> | 2024-08-25 17:33:01 +0200 |
|---|---|---|
| committer | Johannes Hostert <jhostert@ethz.ch> | 2024-08-27 15:24:23 +0200 |
| commit | 2765444c15617b234a38a736fd7d7c1c0e1024df (patch) | |
| tree | 5e13ba7f176387a6931a14d2b3cf6cebd4445b1b /compiler/rustc_mir_transform/src | |
| parent | 9b82f3b729d15fca2a7e415f11e08f84e04effb1 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
