##// END OF EJS Templates
rust-format: pin the formatted to a specific nightly version...
rust-format: pin the formatted to a specific nightly version Version 1.50 change the way rust-format behave. We pin the version for now, we can figure out something better later.

File last commit:

r46601:d42809b6 default
r46601:d42809b6 default
Show More
test-check-rust-format.t
9 lines | 290 B | text/troff | Tads3Lexer
/ tests / test-check-rust-format.t
#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