Rename ParseSess::span_diagnostic as ParseSess::dcx.

This commit is contained in:
Nicholas Nethercote
2023-12-17 22:25:47 +11:00
parent 9b1f87c7e8
commit 9df1576e1d
26 changed files with 89 additions and 98 deletions

View File

@@ -678,7 +678,7 @@ impl Session {
#[inline]
pub fn diagnostic(&self) -> &DiagCtxt {
&self.parse_sess.span_diagnostic
&self.parse_sess.dcx
}
#[inline]