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

Introduce EDITION_2021 #6903

Merged
merged 1 commit into from Apr 14, 2021
Merged

Introduce EDITION_2021 #6903

merged 1 commit into from Apr 14, 2021

Conversation

Undin
Copy link
Member

@Undin Undin commented Feb 27, 2021

Initial preparation for 2021 edition. It should only support parsing 2021 edition from cargo metadata. All user-visible features should be the same as for 2018 edition

Part of #6902

changelog: Introduce 2021 edition variant in the plugin and adjust the corresponding code

@Undin Undin added the internal Pull requests about internal improvements/fixes that don't affect users directly label Feb 27, 2021
Initial preparation for 2021 edition
@Undin
Copy link
Member Author

Undin commented Apr 14, 2021

bors r=vlad20012

bors bot added a commit that referenced this pull request Apr 14, 2021
6845: INT: add intention to toggle feature state from cfg attribute r=vlad20012 a=Kobzol

This PR adds a simple intention that toggles feature state. It can be invoked from `cfg` feature attributes.

I needed an intention test with a toolchain, so the test inherits from `RsWithToolchainTestBase` and reimplements a small amount of logic from `RsIntentionTestBase`.

Related issue: #4693

changelog: Add intention that toggles feature state from a cfg attribute

6903: Introduce EDITION_2021 r=vlad20012 a=Undin

Initial preparation for 2021 edition. It should only support parsing `2021` edition from cargo metadata. All user-visible features should be the same as for `2018` edition

Part of #6902 

changelog: Introduce `2021` edition variant in the plugin and adjust the corresponding code


Co-authored-by: Jakub Beránek <berykubik@gmail.com>
Co-authored-by: Arseniy Pendryak <a.pendryak@yandex.ru>
@bors
Copy link
Contributor

bors bot commented Apr 14, 2021

Build failed (retrying...):

@bors
Copy link
Contributor

bors bot commented Apr 14, 2021

Build succeeded:

@bors bors bot merged commit 7b0fa70 into master Apr 14, 2021
@bors bors bot deleted the undin/2021-edition branch April 14, 2021 15:42
@github-actions github-actions bot added this to the v146 milestone Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Pull requests about internal improvements/fixes that don't affect users directly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants