1
Fork 0
rust/compiler/rustc_driver/src
bors 222d1ff68d Auto merge of #105603 - oli-obk:non_repeatable_queries, r=petrochenkov
Harden the pre-tyctxt query system against accidental recomputation

While the current compiler has no issues where we `take` and then compute the query again, in https://github.com/rust-lang/rust/pull/105462 I accidentally introduced such a case.

I also took the opportunity to remove `peek_mut`, which is only ever used for `global_tcx` to then invoke `enter`. I added an `enter` method directly on the query.
2023-01-12 13:59:30 +00:00
..
args.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
lib.rs Auto merge of #105603 - oli-obk:non_repeatable_queries, r=petrochenkov 2023-01-12 13:59:30 +00:00
pretty.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
session_diagnostics.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00