1
Fork 0

Add a label to point to the lacking macro name definition

This commit is contained in:
Lin Yihai 2024-07-10 10:59:33 +08:00
parent 5be2ec7245
commit 2fca4ea317
6 changed files with 30 additions and 8 deletions

View file

@ -667,7 +667,7 @@ pub(crate) struct MacroSuggMovePosition {
#[note(resolve_missing_macro_rules_name)]
pub(crate) struct MaybeMissingMacroRulesName {
#[primary_span]
pub(crate) span: Span,
pub(crate) spans: MultiSpan,
}
#[derive(Subdiagnostic)]