about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-29 16:56:24 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-03-05 12:15:12 +1100
commitf8429390ec8f335d17744773644e192b74734566 (patch)
treeed08e205a7b240afb5884f418fb6caf5fdf9b5b4 /compiler/rustc_hir_analysis/src/structured_errors.rs
parent7aa0eea19caee96c9c811105b3df610e2759dd49 (diff)
downloadrust-f8429390ec8f335d17744773644e192b74734566.tar.gz
rust-f8429390ec8f335d17744773644e192b74734566.zip
Rename `StructuredDiagnostic` as `StructuredDiag`.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/structured_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/structured_errors.rs b/compiler/rustc_hir_analysis/src/structured_errors.rs
index 9064ba8693e..5abfd25dd95 100644
--- a/compiler/rustc_hir_analysis/src/structured_errors.rs
+++ b/compiler/rustc_hir_analysis/src/structured_errors.rs
@@ -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;