fix confusing diagnostic for reserved ##
This commit is contained in:
parent
7db7489f9b
commit
44f4f67f46
14 changed files with 141 additions and 107 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue