Rename ParseSess::span_diagnostic as ParseSess::dcx.
This commit is contained in:
@@ -506,7 +506,7 @@ impl server::FreeFunctions for Rustc<'_, '_> {
|
||||
None,
|
||||
);
|
||||
}
|
||||
self.sess().span_diagnostic.emit_diagnostic(diag);
|
||||
self.sess().dcx.emit_diagnostic(diag);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user