Rename Handler
as DiagCtxt
.
This commit is contained in:
parent
89ab75e856
commit
576b9213b3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user