diff options
| author | bors <bors@rust-lang.org> | 2022-10-15 13:30:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-15 13:30:15 +0000 |
| commit | b8c35ca26b191bb9a9ac669a4b3f4d3d52d97fb1 (patch) | |
| tree | b46adf1305800806469189e68b66e8899940a302 /compiler/rustc_interface/src | |
| parent | c93ef33700e4e4f84fd85690df71b14c1d2b0aa3 (diff) | |
| parent | 24ce4cfa205da0afc8500684465bf8158bd4adae (diff) | |
| download | rust-b8c35ca26b191bb9a9ac669a4b3f4d3d52d97fb1.tar.gz rust-b8c35ca26b191bb9a9ac669a4b3f4d3d52d97fb1.zip | |
Auto merge of #102895 - Nilstrieb:query-cleanups, r=cjgillot
Get rid of `rustc_query_description!` **I am not entirely sure whether this is an improvement and would like to get your feedback on it.** Helps with #96524. Queries can provide an arbitrary expression for their description and their caching behavior. Before, these expressions where stored in a `rustc_query_description` macro emitted by the `rustc_queries` macro, and then used in `rustc_query_impl` to fill out the methods for the `QueryDescription` trait. Instead, we now emit two new modules from `rustc_queries` containing the functions with the expressions. `rustc_query_impl` calls these functions now instead of invoking the macro. Since we are now defining some of the functions in `rustc_middle::query`, we now need all the imports for the key types mthere as well. r? `@cjgillot`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
