Skip to content
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

ANN: Add quick fix to correct invalid cfg predicates #7165

Merged
merged 1 commit into from Apr 28, 2021

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Apr 23, 2021

Improves #7102 by adding a quick fix to correct invalid cfg name.

Note that I couldn't just use RenameFix, because this fix has to work on RsPath in the case of cfg predicates. And in this way the fix is general and it can be used in more places.

changelog: Add quick fix to correct the name of an invalid cfg predicate.

@Kobzol Kobzol added the feature label Apr 23, 2021
@Kobzol Kobzol added this to In Progress in To test via automation Apr 23, 2021
@Kobzol Kobzol changed the title Ann unknown cfg predicate fix ANN: Add quick fix to correct invalid cfg predicates Apr 23, 2021
@Kobzol Kobzol force-pushed the ann-unknown-cfg-predicate-fix branch from 9cc7271 to c5e7ed5 Compare April 23, 2021 13:06
Copy link
Member

@Undin Undin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except minor comments.

Also, the PR has merge conflicts. Could you rebase onto master, please?

@Undin Undin removed this from In Progress in To test Apr 28, 2021
@Undin Undin mentioned this pull request Apr 28, 2021
@Kobzol Kobzol force-pushed the ann-unknown-cfg-predicate-fix branch 2 times, most recently from 588fb1b to f6cc7a2 Compare April 28, 2021 15:22
@Kobzol
Copy link
Member Author

Kobzol commented Apr 28, 2021

Rebased & fixed comments.

Copy link
Member

@Undin Undin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 👍

@Undin
Copy link
Member

Undin commented Apr 28, 2021

And could you add changelog section to PR description, please?

@Kobzol Kobzol force-pushed the ann-unknown-cfg-predicate-fix branch from f6cc7a2 to f78a5e7 Compare April 28, 2021 21:11
@Kobzol
Copy link
Member Author

Kobzol commented Apr 28, 2021

bors r=Undin

@bors
Copy link
Contributor

bors bot commented Apr 28, 2021

Build succeeded:

@bors bors bot merged commit 184e0ae into intellij-rust:master Apr 28, 2021
@github-actions github-actions bot added this to the v147 milestone Apr 28, 2021
@Kobzol Kobzol deleted the ann-unknown-cfg-predicate-fix branch April 29, 2021 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants