rc and cr more clear error message

This commit is contained in:
Kivooeo
2025-04-23 03:06:07 +05:00
parent b8005bff32
commit 44b19e5fe7
5 changed files with 41 additions and 2 deletions

View File

@@ -2140,6 +2140,13 @@ pub(crate) enum UnknownPrefixSugg {
style = "verbose"
)]
UseBr(#[primary_span] Span),
#[suggestion(
parse_suggestion_cr,
code = "cr",
applicability = "maybe-incorrect",
style = "verbose"
)]
UseCr(#[primary_span] Span),
#[suggestion(
parse_suggestion_whitespace,
code = " ",