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.
This commit is contained in:
Nicholas Nethercote 2023-11-30 14:04:52 +11:00
parent 95be8b2189
commit 7138845f61
3 changed files with 4 additions and 4 deletions

View file

@ -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>,