File tree Expand file tree Collapse file tree
compiler/rustc_query_impl/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,15 +47,6 @@ pub enum CollectActiveJobsKind {
4747}
4848
4949/// Returns a map of currently active query jobs, collected from all queries.
50- ///
51- /// If `require_complete` is `true`, this function locks all shards of the
52- /// query results to produce a complete map, which always returns `Ok`.
53- /// Otherwise, it may return an incomplete map as an error if any shard
54- /// lock cannot be acquired.
55- ///
56- /// Prefer passing `false` to `require_complete` to avoid potential deadlocks,
57- /// especially when called from within a deadlock handler, unless a
58- /// complete map is needed and no deadlock is possible at this call site.
5950pub fn collect_active_query_jobs < ' tcx > (
6051 tcx : TyCtxt < ' tcx > ,
6152 collect_kind : CollectActiveJobsKind ,
You can’t perform that action at this time.
0 commit comments