mirror of https://github.com/rust-lang/rust.git
Rename `Handler` as `DiagCtxt`.
This commit is contained in:
parent
89ab75e856
commit
576b9213b3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue