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:
parent
95be8b2189
commit
7138845f61
3 changed files with 4 additions and 4 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue