rust/compiler/rustc_query_impl/src
Joshua Nelson 4e09a13bb8 Don't create two new closures for each query
- Parameterize DepKindStruct over `'tcx`

    This allows passing in an invariant function pointer in `query_callback`,
    rather than having to try and make it work for any lifetime.

- Add a new `execute_query` function to `QueryDescription` so we can call `tcx.$name` without needing to be in a macro context
2022-09-01 18:47:54 -05:00
..
keys.rs Use LocalDefId for closures more 2022-07-30 15:59:17 -05:00
lib.rs Simplify the syntax for macros generated by rustc_queries 2022-08-24 00:37:49 -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 Don't create two new closures for each query 2022-09-01 18:47:54 -05:00
profiling_support.rs Simplify the syntax for macros generated by rustc_queries 2022-08-24 00:37:49 -05:00
README.md Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00
values.rs Do not report cycle error when inferring return type for suggestion 2022-08-16 03:00:32 +00:00

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