tests/test-check-rust-format.t
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 20 Jan 2022 11:17:09 -0800
changeset 48579 f970bc616ebc
parent 48297 9ebc10ad4a04
child 48742 090346b095fb
permissions -rw-r--r--
filemerge: remove unused arguments from `_merge()` Differential Revision: https://phab.mercurial-scm.org/D12014

#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