Detect C lang printing functions and suggest the appropriate macro call #92898
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
We already translate from C-style formatting strings to Rust formatting strings when passed to the
format!
family of macros. We should also detect invalidfn
calls from other languages that were meant to be macro calls:currently emits the dry
while it could be
The text was updated successfully, but these errors were encountered: