diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-29 16:56:24 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-03-05 12:15:12 +1100 |
| commit | f8429390ec8f335d17744773644e192b74734566 (patch) | |
| tree | ed08e205a7b240afb5884f418fb6caf5fdf9b5b4 /compiler/rustc_hir_analysis/src/structured_errors.rs | |
| parent | 7aa0eea19caee96c9c811105b3df610e2759dd49 (diff) | |
| download | rust-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.rs | 2 |
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; |
