Rename StructuredDiagnostic as StructuredDiag.

This commit is contained in:
Nicholas Nethercote
2024-02-29 16:56:24 +11:00
parent 7aa0eea19c
commit f8429390ec
7 changed files with 10 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ pub use self::{
use rustc_errors::{Diag, ErrCode};
use rustc_session::Session;
pub trait StructuredDiagnostic<'tcx> {
pub trait StructuredDiag<'tcx> {
fn session(&self) -> &Session;
fn code(&self) -> ErrCode;