Unhelpful help text E0435 for error hidden in macro #100235
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=dadc51025c06cf1f6d7dd68f793bb2c0
The current output is:
The help text is in this case not very helpful, potentially leading a user to try solutions that won't work. In this specific case, it would maybe be better to omit the
help:
section. Or, if possible maybe something likehelp: This error happens inside the info_span macro, which might indicate you are using the macro in a way it wasn't intended to be used
.The text was updated successfully, but these errors were encountered: