Mercurial > public > mercurial-scm > hg-stable
view tests/test-check-rust-format.t @ 48297:9ebc10ad4a04
rust-format: update rustfmt version
This hasn't been updated in a while, and since we're updating the MSRV to
1.48.0, we might as well do this.
Differential Revision: https://phab.mercurial-scm.org/D11733
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 03 Nov 2021 17:06:01 +0100 |
parents | d42809b6b10f |
children | 090346b095fb |
line wrap: on
line source
#require rustfmt test-repo $ . "$TESTDIR/helpers-testrepo.sh" $ cd "$TESTDIR"/.. $ RUSTFMT=$(rustup which --toolchain nightly-2021-11-02 rustfmt) $ for f in `testrepohg files 'glob:**/*.rs'` ; do > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f > done