view tests/test-check-rust-format.t @ 45795:c4ab93849383

relnotes: mention improved memory use and underlaying API changes Differential Revision: https://phab.mercurial-scm.org/D9258
author Joerg Sonnenberger <joerg@bec.de>
date Thu, 29 Oct 2020 13:29:05 +0100
parents f44a7d8660ea
children d42809b6b10f
line wrap: on
line source

#require rustfmt test-repo

  $ . "$TESTDIR/helpers-testrepo.sh"

  $ cd "$TESTDIR"/..
  $ RUSTFMT=$(rustup which --toolchain nightly rustfmt)
  $ for f in `testrepohg files 'glob:**/*.rs'` ; do
  >   $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
  > done