test-check-rust-format.t
9 lines
| 290 B
| text/troff
|
Tads3Lexer
/ tests / test-check-rust-format.t
|
r44271 | #require rustfmt test-repo | ||
$ . "$TESTDIR/helpers-testrepo.sh" | ||||
$ cd "$TESTDIR"/.. | ||||
r46601 | $ RUSTFMT=$(rustup which --toolchain nightly-2020-10-04 rustfmt) | |||
|
r44271 | $ for f in `testrepohg files 'glob:**/*.rs'` ; do | ||
|
r45226 | > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f | ||
|
r44271 | > done | ||