Incorrect suggestion for referencing a cast #46756
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
WG-diagnostics
Working group: Diagnostics
The current error message is:
It should suggest trying
&(v as usize)
: at the moment, if the user tries the current suggestion, they'll be told to try&&v as usize
, and so on.Playground link
The text was updated successfully, but these errors were encountered: