Improve diagnostics for incorrect double pointer type #102261
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 suggest correct ways to specify a double pointer type (e.g.
*const *const T
)(May be able to extend for more levels of indirection if wanted), instead of a generic single pointer suggestion, which may not be what the user wants.The text was updated successfully, but these errors were encountered: