You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the code assist that rust-analyzer generates from the compiler warning ("remove these parentheses") does handle this case correctly, so it's maybe it's possible to take notes from the compiler implementation
rust-analyzer version:
rust-analyzer 1.73.0 (cc66ad4 2023-10-03)
rustc version:
rustc 1.73.0 (cc66ad468 2023-10-03)
relevant settings: n/a
Input
Expected output
Output
Notes
Looks like the code assist that rust-analyzer generates from the compiler warning ("remove these parentheses") does handle this case correctly, so it's maybe it's possible to take notes from the compiler implementation
Test Patch
The text was updated successfully, but these errors were encountered: