-
Notifications
You must be signed in to change notification settings - Fork 380
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
INT: add intention to substitute an associated type #5643
INT: add intention to substitute an associated type #5643
Conversation
b76ecb1
to
52de4c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/main/kotlin/org/rust/ide/intentions/SubstituteAssociatedTypeIntention.kt
Outdated
Show resolved
Hide resolved
52de4c9
to
236580a
Compare
|
Good point, thanks. I added a call to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
bors r+
|
Build failed:
|
|
bors retry |
|
Build succeeded: |
9429: REF: Inline type alias r=ortem a=dima74 Add refactoring "Inline type alias" in addition to existing intention "Substitute type alias" (#5643, #7345). The refactoring allows to inline all usages. Fixes #5756 Related: #824 <img src="https://user-images.githubusercontent.com/6505554/188242081-5550dd76-ac57-44d4-a62e-853f42e888d9.gif" width="50%"> changelog: Add refactoring `Inline type alias` Co-authored-by: Dmitry Murzin <diralik@yandex.ru>

This PR adds an intention to substitute an associated type with its value.
Fixes: #2766