Skip to content
This repository has been archived by the owner on May 5, 2019. It is now read-only.

Commit

Permalink
transitioning: specify behavior in workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
gibix committed Aug 14, 2018
1 parent f130514 commit 4105902
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/editions/transitioning-your-code-to-a-new-edition.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,14 @@ fix` will automatically fix any lints it can, so you'll only get warnings for
things that `cargo fix` couldn't fix. If you find it difficult to work through
the warnings, that's a bug!

Once you're warning-free with this command you're good to go. Enjoy the new
edition!
Once you're warning-free with this command you're good to go.

> The `--edition-idioms` flag applies only to the "current crate" if you want
> to run it against a workspace is necessary to use a workaround with
> `RUSTFLAGS` in order to execute it in all the workspace members.
>
> ```shell
> $ RUSTFLAGS='-Wrust_2018_idioms' cargo fix --all
> ```
Enjoy the new edition!

0 comments on commit 4105902

Please sign in to comment.