Mercurial > hg
comparison tests/test-check-rust-format.t @ 51737:48eb51494a7a
rustfmt: update expected Rust edition
In this case it doesn't change anything, but we've been using 2021 for a
while now.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 29 Jul 2024 10:07:53 +0200 |
parents | c8188b10cf43 |
children |
comparison
equal
deleted
inserted
replaced
51736:c8188b10cf43 | 51737:48eb51494a7a |
---|---|
5 $ cd "$TESTDIR"/.. | 5 $ cd "$TESTDIR"/.. |
6 | 6 |
7 Warning: Keep this in sync with hghave.py | 7 Warning: Keep this in sync with hghave.py |
8 $ RUSTFMT=$(rustup which --toolchain nightly-2024-07-16 rustfmt) | 8 $ RUSTFMT=$(rustup which --toolchain nightly-2024-07-16 rustfmt) |
9 $ for f in `testrepohg files 'glob:**/*.rs'` ; do | 9 $ for f in `testrepohg files 'glob:**/*.rs'` ; do |
10 > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f | 10 > $RUSTFMT --check --edition=2021 --unstable-features --color=never $f |
11 > done | 11 > done |