about summary refs log tree commit diff
path: root/compiler/rustc_graphviz
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-08 18:32:31 +0000
committerbors <bors@rust-lang.org>2022-01-08 18:32:31 +0000
commita7e2e33960e95d2eb1a2a2aeec169dba5f73de05 (patch)
tree5a4bfcba39ed5fe60f9e5e207f71d69d392e4fd2 /compiler/rustc_graphviz
parent488acf86a75c56d30b16822e953c505a9e4901a7 (diff)
parent27ed52c0a2e05d459a25d077d2eec584cb98a591 (diff)
downloadrust-a7e2e33960e95d2eb1a2a2aeec169dba5f73de05.tar.gz
rust-a7e2e33960e95d2eb1a2a2aeec169dba5f73de05.zip
Auto merge of #91919 - Aaron1011:query-recursive-read, r=michaelwoerister
Don't perform any new queries while reading a query result on disk

In addition to being very confusing, this can cause us to add dep node edges between two queries that would not otherwise have an edge.

We now panic if any new dep node edges are created during the deserialization of a query result. This requires serializing the full `AdtDef` to disk, instead of just serializing the `DefId` and invoking the `adt_def` query during deserialization.

I'll probably split this up into several smaller PRs for perf runs.
Diffstat (limited to 'compiler/rustc_graphviz')
0 files changed, 0 insertions, 0 deletions