view tests/test-check-rust-format.t @ 52991:d7174b43f3e6

typing: fix the signature of `treemanifest.fastdelta()` We're still missing a few explicit bits of Protocol subclassing, and pytype found this when the subclassing is applied. So fix this first.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 17 Dec 2024 19:29:08 -0500
parents 48eb51494a7a
children
line wrap: on
line source

#require rustfmt test-repo

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

  $ cd "$TESTDIR"/..

Warning: Keep this in sync with hghave.py
  $ RUSTFMT=$(rustup which --toolchain nightly-2024-07-16 rustfmt)
  $ for f in `testrepohg files 'glob:**/*.rs'` ; do
  >   $RUSTFMT --check --edition=2021 --unstable-features --color=never $f
  > done