--- a/tests/hghave.py Fri Feb 11 16:52:48 2022 -0800
+++ b/tests/hghave.py Tue Feb 15 20:24:46 2022 -0800
@@ -1137,11 +1137,11 @@
return version and sv(_bytes2sys(version.group(0))) >= sv('2019.10.17')
-@check("rustfmt", "rustfmt tool at version nightly-2020-10-04")
+@check("rustfmt", "rustfmt tool at version nightly-2021-11-02")
def has_rustfmt():
# We use Nightly's rustfmt due to current unstable config options.
return matchoutput(
- '`rustup which --toolchain nightly-2020-10-04 rustfmt` --version',
+ '`rustup which --toolchain nightly-2021-11-02 rustfmt` --version',
b'rustfmt',
)