tip for define macro name after macro_rules!
This commit is contained in:
parent
dd6126ef56
commit
0f14e8ea74
5 changed files with 37 additions and 4 deletions
|
@ -665,6 +665,13 @@ pub(crate) struct ExplicitUnsafeTraits {
|
|||
pub(crate) ident: Ident,
|
||||
}
|
||||
|
||||
#[derive(Subdiagnostic)]
|
||||
#[note(resolve_missing_macro_rules_name)]
|
||||
pub(crate) struct MaybeMissingMacroRulesName {
|
||||
#[primary_span]
|
||||
pub(crate) span: Span,
|
||||
}
|
||||
|
||||
#[derive(Subdiagnostic)]
|
||||
#[help(resolve_added_macro_use)]
|
||||
pub(crate) struct AddedMacroUse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue