Skip to content

Commit aa5d436

Browse files
committed
Add comment
1 parent 9c978b9 commit aa5d436

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_query_impl/src/plumbing.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,8 @@ macro_rules! define_queries {
700700
}
701701
}
702702

703+
// These arrays are used for iteration and can't be indexed by `DepKind`.
704+
703705
const TRY_COLLECT_ACTIVE_JOBS: &[for<'tcx> fn(TyCtxt<'tcx>, &mut QueryMap<DepKind>)] =
704706
&[$(query_impl::$name::try_collect_active_jobs),*];
705707

0 commit comments

Comments
 (0)