I tried this out, and it was generally simple and great - looking forward to much more of this style up upgrade in the future!
The only shortcoming I ran into is that it didn’t remove any extern crate
s for me. I tried each of:
- Run
cargo +nightly fix --prepare-for 2018 --all-targets --all-features --allow-dirty
without any local changes - Add
#![feature(rust_2018_preview)]
and then do 1. - Add the edition to the Cargo.toml, and then do 2.
Is something expected to remove extern crate
s? I also didn’t see any warnings about unused ones, but if I removed them myself the code compiled the same…
Thanks!