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
When completing callable fields inside struct initialization, it will insert function calling parenthesis after field name. Regression caused by #15879
Found the root cause as well, the function call parenthesis are inserted regardless of whether parenthesis around the receiver inserted or not. That shouldn't be the case, the function call parenthesis is only valid if parenthesis around the receiver is inserted. I will open a PR as well for this.
When completing callable fields inside struct initialization, it will insert function calling parenthesis after field name. Regression caused by #15879
Actual Behavior:
Intended Behavior:
rust-analyzer version: 0.3.1756-standalone
rustc version: rustc 1.74.0 (79e9716c9 2023-11-13)
relevant settings: Default values no specific changes required.
The text was updated successfully, but these errors were encountered: