Skip to content

Commit 0eb7596

Browse files
committed
Exclude ice-3891.rs from rustfmt run
Because the code triggers a rustc parse error which makes rustfmt fail.
1 parent 0307ff0 commit 0eb7596

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/base-tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ rustup override set nightly
5959
# avoid loop spam and allow cmds with exit status != 0
6060
set +ex
6161

62-
for file in `find tests | grep "\.rs$"` ; do
62+
# Excluding `ice-3891.rs` because the code triggers a rustc parse error which
63+
# makes rustfmt fail.
64+
for file in `find tests -not -path "tests/ui/crashes/ice-3891.rs" | grep "\.rs$"` ; do
6365
rustfmt ${file} --check
6466
if [ $? -ne 0 ]; then
6567
echo "${file} needs reformatting!"

0 commit comments

Comments
 (0)