about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-27 08:53:24 +0000
committerbors <bors@rust-lang.org>2022-08-27 08:53:24 +0000
commit4065b89b1e7287047d7d6c65e7abd7b8ee70bcf0 (patch)
tree2032680763d0fabe8cd59c556be7f471f71ce50f /compiler/rustc_query_impl/src/lib.rs
parentd0e1491ecd6ab30a47ebe29f8a86463eacc6a997 (diff)
parentb061550ed351751db4bb3dcc356f44daa9a3542d (diff)
downloadrust-4065b89b1e7287047d7d6c65e7abd7b8ee70bcf0.tar.gz
rust-4065b89b1e7287047d7d6c65e7abd7b8ee70bcf0.zip
Auto merge of #100946 - jyn514:query-system-3, r=cjgillot
Simplify the arguments to macros generated by the `rustc_queries` proc macro

Very small cleanup. Based on https://github.com/rust-lang/rust/pull/100436 which modifies some of the same code.

r? `@cjgillot`
Diffstat (limited to 'compiler/rustc_query_impl/src/lib.rs')
-rw-r--r--compiler/rustc_query_impl/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_impl/src/lib.rs b/compiler/rustc_query_impl/src/lib.rs
index 946bc34fea1..8ea09880694 100644
--- a/compiler/rustc_query_impl/src/lib.rs
+++ b/compiler/rustc_query_impl/src/lib.rs
@@ -54,7 +54,7 @@ fn describe_as_module(def_id: LocalDefId, tcx: TyCtxt<'_>) -> String {
     }
 }
 
-rustc_query_append! { [define_queries!] }
+rustc_query_append! { define_queries! }
 
 impl<'tcx> Queries<'tcx> {
     // Force codegen in the dyn-trait transformation in this crate.