single_char_pattern
produces incorrect suggestion for double quote character
#11973
Labels
C-bug
Category: Clippy is not doing the correct thing
Summary
When the char to replace is a double quote
"
, clippy suggests to replace it using the escape character, but in this case the escape character is not needed.Reproducer
The message should be:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: