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

Migrate to using `cargo fix --edition-idioms` #70

Merged
merged 1 commit into from Aug 3, 2018

Conversation

Projects
None yet
2 participants
@alexcrichton
Copy link
Member

alexcrichton commented Jul 31, 2018

This'll be a new flag being added to Cargo to help transitioning to the idioms
of the 2018 edition.

At the same time this removes the +nightly invocations from Cargo commands,
removes --all-targets as it's the default, and finally removes
--all-features as the default of --all-targets should be enough.

@Centril

This comment has been minimized.

Copy link
Collaborator

Centril commented Aug 1, 2018

DON'T MERGE YET!

This PR is awaiting the stuff mentioned above to be merged into Cargo.
@alexcrichton will ping back on this PR once that is done and this is ready to be merged.

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Aug 1, 2018

Ah yes, sorry! This is blocked on rust-lang/cargo#5843 making its way into nightlies.

@Centril

This comment has been minimized.

Copy link
Collaborator

Centril commented Aug 1, 2018

Note to self: Once this is merged, #19 should be rendered moot so we can close that then.

Migrate to using `cargo fix --edition-idioms`
This'll be a new flag being added to Cargo to help transitioning to the idioms
of the 2018 edition.

At the same time this removes the `+nightly` invocations from Cargo commands,
removes `--all-targets` as it's the default, and finally removes
`--all-features` as the default of `--all-targets` should be enough.

@alexcrichton alexcrichton force-pushed the alexcrichton:idioms branch from aa81942 to 86542ae Aug 3, 2018

@alexcrichton alexcrichton changed the title Migrate to using `cargo fix --idioms` Migrate to using `cargo fix --edition-idioms` Aug 3, 2018

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Aug 3, 2018

Everything is now landed in rust-lang/rust and a nightly is one the way out, so merging!

@alexcrichton alexcrichton merged commit 01e2f7b into rust-lang-nursery:master Aug 3, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@alexcrichton alexcrichton deleted the alexcrichton:idioms branch Aug 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.