diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-05-21 11:25:07 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-05-21 11:25:07 +0200 |
| commit | aa5d43647b066d573264473fa391a009f2b5bbe8 (patch) | |
| tree | 74b4f9a778f0515790e2505f7ecde260d4e71095 /compiler/rustc_query_impl/src | |
| parent | 9c978b955e73f9bafa507fcde2b000c57e705b22 (diff) | |
| download | rust-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.rs | 2 |
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),*]; |
