rustfmt: update expected Rust edition
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 29 Jul 2024 10:07:53 +0200
changeset 51737 48eb51494a7a
parent 51736 c8188b10cf43
child 51738 d17578f96e60
rustfmt: update expected Rust edition In this case it doesn't change anything, but we've been using 2021 for a while now.
tests/test-check-rust-format.t
--- a/tests/test-check-rust-format.t	Mon Jul 29 10:04:00 2024 +0200
+++ b/tests/test-check-rust-format.t	Mon Jul 29 10:07:53 2024 +0200
@@ -7,5 +7,5 @@
 Warning: Keep this in sync with hghave.py
   $ RUSTFMT=$(rustup which --toolchain nightly-2024-07-16 rustfmt)
   $ for f in `testrepohg files 'glob:**/*.rs'` ; do
-  >   $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
+  >   $RUSTFMT --check --edition=2021 --unstable-features --color=never $f
   > done