From 576b9213b3f896c5a33da335c07244572508a10b Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Sun, 17 Dec 2023 21:48:57 +1100 Subject: [PATCH] Rename `Handler` as `DiagCtxt`. --- src/concurrency_limiter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/concurrency_limiter.rs b/src/concurrency_limiter.rs index 978891f2b0d..1fb9d7afbc9 100644 --- a/src/concurrency_limiter.rs +++ b/src/concurrency_limiter.rs @@ -46,7 +46,7 @@ pub(super) fn new(sess: &Session, pending_jobs: usize) -> Self { } } - pub(super) fn acquire(&mut self, handler: &rustc_errors::Handler) -> ConcurrencyLimiterToken { + pub(super) fn acquire(&mut self, handler: &rustc_errors::DiagCtxt) -> ConcurrencyLimiterToken { let mut state = self.state.lock().unwrap(); loop { state.assert_invariants();