-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add unqualify_method_call
assist
#13825
feat: Add unqualify_method_call
assist
#13825
Conversation
I think the acronym "UFCS" is a bit unfriendly, maybe something like "Convert to |
+1 to
Probably because both target the same range and our assists are ordered alphabetically by default (with a few exceptions, where this would probably be a good choice to do so as well) |
I didn't mean the order, rather that it's under the |
59889c1
to
44c84a8
Compare
convert_ufcs_to_method
assistunqualify_method_call
assist
@bors delegate+ |
✌️ @WaffleLapkin can now approve this pull request |
a48d5f5
to
c782353
Compare
@bors r=Veykril |
☀️ Test successful - checks-actions |
…icola minor: Make `qualify_method_call` `RefactorRewrite` See #13825 (comment)
fix: import trait if needed for `unqualify_method_call` assist before: ![before](https://github.com/rust-lang/rust-analyzer/assets/71162630/66fda67d-afcb-453f-91a9-7e85993c3d2a) after: ![after](https://github.com/rust-lang/rust-analyzer/assets/71162630/72ffbda4-1615-4413-836e-480eb52e9728) follow up #13825
...which is the inverse of
qualify_method_call
assist.Optional future work: