Rename ParseSess::span_diagnostic as ParseSess::dcx.
This commit is contained in:
@@ -254,7 +254,7 @@ impl<'a> Parser<'a> {
|
||||
}
|
||||
|
||||
pub(super) fn diagnostic(&self) -> &'a DiagCtxt {
|
||||
&self.sess.span_diagnostic
|
||||
&self.sess.dcx
|
||||
}
|
||||
|
||||
/// Replace `self` with `snapshot.parser`.
|
||||
|
||||
Reference in New Issue
Block a user