undeclared crate or module error has invalid suggestions when implementing fmt::Debug
#112590
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
play
Current output
Desired output
No suggestion (suggest importing std::fmt)
The text was updated successfully, but these errors were encountered: