diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-30 14:04:52 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-02 08:58:25 +1100 |
| commit | 7138845f61ee8eb212158fd4b66276e34e733db1 (patch) | |
| tree | a1824cb3bd1d1d0bfc62d977eee0aa9d461d9e0e /compiler/rustc_errors/src/lib.rs | |
| parent | 95be8b21896c748543a81135177e6e3286ae21f2 (diff) | |
| download | rust-7138845f61ee8eb212158fd4b66276e34e733db1.tar.gz rust-7138845f61ee8eb212158fd4b66276e34e733db1.zip | |
Rename `Handler::span_note_diag` as `struct_span_note`.
Because `span_note_diag` doesn't follow the naming structure used for the error reporting functions.
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 6e913282c59..9f2e5d81797 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -1032,7 +1032,7 @@ impl Handler { #[track_caller] #[rustc_lint_diagnostics] - pub fn span_note_diag( + pub fn struct_span_note( &self, span: Span, msg: impl Into<DiagnosticMessage>, |
