Rename many DiagCtxt and EarlyDiagCtxt locals.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user