check_for_deref_method suggestion can still introduce a parse error #104379
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.
This is a variant of #103271 that wasn't fixed by #103675.
Given the following code (playground):
The current output is:
The suggestion isn't quite right, because introducing angle brackets here (already within angle brackets) produces a parse error.
Version
The text was updated successfully, but these errors were encountered: