rust/compiler/rustc_query_system/src/query
bors a7e2e33960 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.
2022-01-08 18:32:31 +00:00
..
caches.rs Streamline try_start code 2021-05-02 12:25:48 -04:00
config.rs Do not require QueryCtxt for cache_on_disk. 2021-10-23 18:12:43 +02:00
job.rs Adopt let_else across the compiler 2021-10-16 07:18:05 +02:00
mod.rs Some cleanup 2021-12-23 13:38:53 -05:00
plumbing.rs Auto merge of #91919 - Aaron1011:query-recursive-read, r=michaelwoerister 2022-01-08 18:32:31 +00:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

For more information about how the query system works, see the rustc dev guide.