tests/test-check-rust-format.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 21 Jun 2021 17:29:22 +0200
changeset 47461 69910b3686fa
parent 45987 d42809b6b10f
child 48297 9ebc10ad4a04
permissions -rw-r--r--
rust: remove dead utils module This was introduced a while back while not being imported anywhere in the module system. How pertinent this Facebook module was to the codebase was debatable at the time, nowadays with the Rust VFS layer having laid its foundations, it is clear that we should drop it. Differential Revision: https://phab.mercurial-scm.org/D10890

#require rustfmt test-repo

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

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