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:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user