Rename many DiagCtxt
and EarlyDiagCtxt
locals.
This commit is contained in:
parent
d58e372853
commit
f6aa418c9f
33 changed files with 250 additions and 258 deletions
|
@ -924,10 +924,10 @@ impl<D: Deps> DepGraphData<D> {
|
|||
// Promote the previous diagnostics to the current session.
|
||||
qcx.store_side_effects(dep_node_index, side_effects.clone());
|
||||
|
||||
let handle = qcx.dep_context().sess().dcx();
|
||||
let dcx = qcx.dep_context().sess().dcx();
|
||||
|
||||
for diagnostic in side_effects.diagnostics {
|
||||
handle.emit_diagnostic(diagnostic);
|
||||
dcx.emit_diagnostic(diagnostic);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue