1
Fork 0

fix confusing diagnostic for reserved ##

This commit is contained in:
Peter Jaszkowiak 2024-11-25 21:50:26 -07:00
parent 7db7489f9b
commit 44f4f67f46
14 changed files with 141 additions and 107 deletions

View file

@ -3059,3 +3059,10 @@ pub(crate) struct ReservedString {
#[suggestion(code = " ", applicability = "machine-applicable")]
pub suggestion: Span,
}
#[derive(LintDiagnostic)]
#[diag(lint_reserved_multihash)]
pub(crate) struct ReservedMultihash {
#[suggestion(code = " ", applicability = "machine-applicable")]
pub suggestion: Span,
}