rust/compiler/rustc_query_impl/src
bors 294f0eef73 Auto merge of #101173 - jyn514:simplify-macro-arguments, r=cjgillot
Further simplify the macros generated by `rustc_queries`

This doesn't actually move anything outside the macros, but it makes them simpler to read.

- Add a new `rustc_query_names` macro. This allows a much simpler syntax for the matchers in the macros passed to it as a callback.
- Convert `define_dep_nodes` and `alloc_once` to use `rustc_query_names`. This is possible because they only use the names
  (despite the quite complicated matchers in `define_dep_nodes`, none of the other arguments are used).
- Get rid of `rustc_dep_node_append`.

r? `@cjgillot`
2022-09-15 11:54:03 +00:00
..
keys.rs Correct Key impl for HirId. 2022-09-14 19:06:48 +02:00
lib.rs Remove unnecessary TRY_LOAD_FROM_DISK constant 2022-09-09 20:24:02 -05:00
on_disk_cache.rs rmeta/query cache: don't write string values of preinterned symbols 2022-08-20 15:39:21 +03:00
plumbing.rs Auto merge of #101173 - jyn514:simplify-macro-arguments, r=cjgillot 2022-09-15 11:54:03 +00:00
profiling_support.rs Get rid of the emitted rustc_query_names and rustc_cached_queries macro 2022-09-06 21:46:31 -05:00
README.md Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00

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