rustfmt-nightly depends on nightly, so we can't let rustfmt bump the latest version arbitrarily or it can (and does) break when trying to run it against a pinned older nightly we're using for clippy.
This way the build will always keep working, and we just need to bump the Travis versions when a new version comes out to use the latest rustfmt.
Ideally, I think the next step would be to split clippy and rustfmt into separate CI builds.
rustfmt-nightly
depends on nightly, so we can't letrustfmt
bump the latest version arbitrarily or it can (and does) break when trying to run it against a pinned older nightly we're using for clippy.This way the build will always keep working, and we just need to bump the Travis versions when a new version comes out to use the latest
rustfmt
.Ideally, I think the next step would be to split
clippy
andrustfmt
into separate CI builds.