rust/compiler/rustc_middle/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
..
dep_graph Auto merge of #101173 - jyn514:simplify-macro-arguments, r=cjgillot 2022-09-15 11:54:03 +00:00
hir Auto merge of #101688 - cjgillot:verify-hir-parent, r=petrochenkov 2022-09-12 00:41:56 +00:00
infer Better errors for implied static bound 2022-09-13 20:18:04 -04:00
middle Migrate limit error 2022-09-01 23:35:38 +08:00
mir Auto merge of #101212 - eholk:dyn-star, r=compiler-errors 2022-09-14 18:10:51 +00:00
query Move some code and add comments. 2022-09-14 19:06:05 +02:00
thir Use boxed slices in PatKind. 2022-09-02 07:26:22 +10:00
traits Better errors for implied static bound 2022-09-13 20:18:04 -04:00
ty Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk 2022-09-15 00:01:17 +00:00
util span: move MultiSpan 2022-04-05 07:01:00 +01:00
arena.rs Deeply check that method signatures match, and allow for nested RPITITs 2022-09-09 01:31:46 +00:00
error.rs fix comment 2022-09-05 23:18:18 +08:00
lib.rs Auto merge of #96709 - jackh726:gats-stabilization, r=compiler-errors 2022-09-13 09:39:41 +00:00
lint.rs Remove unused tool_name. 2022-09-14 19:06:09 +02:00
macros.rs impl TypeVisitable in type traversal macros 2022-07-05 22:25:33 +01:00
metadata.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
tests.rs
thir.rs Also compute implicit params in THIR. 2022-09-13 19:18:24 +02:00
values.rs Make HandleCycleError an enum instead of a macro-generated closure 2022-09-06 19:26:08 -05:00