Add comment

This commit is contained in:
John Kåre Alsaker 2023-05-21 11:25:07 +02:00
parent 9c978b955e
commit aa5d43647b

View File

@ -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),*];