Rename `Handler` as `DiagCtxt`.

This commit is contained in:
Nicholas Nethercote 2023-12-17 21:48:57 +11:00
parent 89ab75e856
commit 576b9213b3
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ impl ConcurrencyLimiter {
}
}
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();