Patchwork D11733: rust-format: update rustfmt version

login
register
mail settings
Submitter phabricator
Date Nov. 3, 2021, 4:06 p.m.
Message ID <differential-rev-PHID-DREV-u2ydiiw2uosci47o3yop-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50058/
State Superseded
Headers show

Comments

phabricator - Nov. 3, 2021, 4:06 p.m.
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11733

AFFECTED FILES
  tests/test-check-rust-format.t

CHANGE DETAILS




To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-check-rust-format.t b/tests/test-check-rust-format.t
--- a/tests/test-check-rust-format.t
+++ b/tests/test-check-rust-format.t
@@ -3,7 +3,7 @@ 
   $ . "$TESTDIR/helpers-testrepo.sh"
 
   $ cd "$TESTDIR"/..
-  $ RUSTFMT=$(rustup which --toolchain nightly-2020-10-04 rustfmt)
+  $ 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