From 457e1619745fe142763f25d159262a71c04bc373 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 17 Jan 2018 11:24:45 -0800 Subject: [PATCH] Add comments explaining why the rustfmt version is still at 0.9.0. --- check-rustfmt.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/check-rustfmt.sh b/check-rustfmt.sh index 0439f35ff7..483a45396a 100755 --- a/check-rustfmt.sh +++ b/check-rustfmt.sh @@ -14,7 +14,11 @@ # # With the --install option, also tries to install the right version. -# This version should always be bumped to the newest version available. +# This version should always be bumped to the newest version available that +# works with stable Rust. +# ... but not 0.10.0, since it's the same as 0.9.0 except for a deprecation +# error (and it requires --force to disable the error and enable normal +# operation, however that doesn't appear to be possible through "cargo fmt"). VERS="0.9.0" if cargo install --list | grep -q "^rustfmt v$VERS"; then