summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-05-21 11:25:07 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-05-21 11:25:07 +0200
commitaa5d43647b066d573264473fa391a009f2b5bbe8 (patch)
tree74b4f9a778f0515790e2505f7ecde260d4e71095 /compiler/rustc_query_impl/src
parent9c978b955e73f9bafa507fcde2b000c57e705b22 (diff)
downloadrust-aa5d43647b066d573264473fa391a009f2b5bbe8.tar.gz
rust-aa5d43647b066d573264473fa391a009f2b5bbe8.zip
Add comment
Diffstat (limited to 'compiler/rustc_query_impl/src')
-rw-r--r--compiler/rustc_query_impl/src/plumbing.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs
index 0d9d6d6f582..244f0e84b43 100644
--- a/compiler/rustc_query_impl/src/plumbing.rs
+++ b/compiler/rustc_query_impl/src/plumbing.rs
@@ -700,6 +700,8 @@ macro_rules! define_queries {
             }
         }
 
+        // These arrays are used for iteration and can't be indexed by `DepKind`.
+
         const TRY_COLLECT_ACTIVE_JOBS: &[for<'tcx> fn(TyCtxt<'tcx>, &mut QueryMap<DepKind>)] =
             &[$(query_impl::$name::try_collect_active_jobs),*];