diff options
| author | bors <bors@rust-lang.org> | 2022-09-02 08:28:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-02 08:28:08 +0000 |
| commit | e21d771b9c76056d20db310ce8655539045b3af5 (patch) | |
| tree | b53949a69122e0da6b9cd449db95e6f877e48a30 /compiler/rustc_hir_analysis/src/structured_errors.rs | |
| parent | b10aed0084e3fb32b365dba06a1b644c3b0f438b (diff) | |
| parent | 4e09a13bb848a64acf6bb20359f582e813e74764 (diff) | |
| download | rust-e21d771b9c76056d20db310ce8655539045b3af5.tar.gz rust-e21d771b9c76056d20db310ce8655539045b3af5.zip | |
Auto merge of #100943 - jyn514:query-system-2, r=cjgillot
Simplify the `define_query` macro This moves a bunch of control flow out of the macro into generic functions, leaving the macro just to call the function with a new generic parameter for each query. It may be possible to improve compile-times / icache by instantiating the generic functions only with the query key, not the query type itself, but I'm going to leave that for a follow-up PR. Helps with https://github.com/rust-lang/rust/issues/96524. r? `@cjgillot`
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions
