Skip to content

Commit cf04c96

Browse files
committed
Allow clippy's unused_imports while its broken
See rust-lang/rust-clippy#15442
1 parent cc70a7d commit cf04c96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/check-lint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -x
55
CLIPPY() {
66
# shellcheck disable=SC2086
77
RUSTFLAGS='-D warnings' cargo clippy $1 -- $2 \
8+
`# https://github.com/rust-lang/rust-clippy/issues/15442` \
9+
-A clippy::unused_imports \
810
`# Things clippy defaults to allowing but we should avoid` \
911
-D clippy::clone_on_ref_ptr \
1012
`# Things where clippy is just wrong` \

0 commit comments

Comments
 (0)