mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Exclude ice-3891.rs from rustfmt run
Because the code triggers a rustc parse error which makes rustfmt fail.
This commit is contained in:
parent
0307ff020c
commit
0eb7596fdc
1 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,9 @@ rustup override set nightly
|
|||
# avoid loop spam and allow cmds with exit status != 0
|
||||
set +ex
|
||||
|
||||
for file in `find tests | grep "\.rs$"` ; do
|
||||
# Excluding `ice-3891.rs` because the code triggers a rustc parse error which
|
||||
# makes rustfmt fail.
|
||||
for file in `find tests -not -path "tests/ui/crashes/ice-3891.rs" | grep "\.rs$"` ; do
|
||||
rustfmt ${file} --check
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "${file} needs reformatting!"
|
||||
|
|
Loading…
Add table
Reference in a new issue