Improve and make missing dyn
help suggestion more uniform
#101689
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: link
The current output is:
Ideally the output should look like:
Above changes: use a more common
+
convention for the help suggestion and make the target trait more explicit by mentioning it.Since most of the other help suggestion that requires adding something uses the
+
convention, I think we should also change the above suggestion to use that convention to make things more uniform. On top of that the new proposed output is less verbose as it reduces 1 line of output.Note: If the old "diff" convention for the help suggestion is intentional, please let me know the reason and I will gladly close this issue. Thanks.
The text was updated successfully, but these errors were encountered: