Skip to content

Commit 18b7360

Browse files
committed
Revert "Suppress a warning from the latest clippy"
This reverts commit fb1ae12. Nightly clippy removed the warning in question.
1 parent 57d4c86 commit 18b7360

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.cirrus.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ cargo_cache:
55
env:
66
# Build by default; don't just check
77
BUILD: build
8-
CLIPPYFLAGS: -D warnings
98
RUSTFLAGS: -D warnings
109
RUSTDOCFLAGS: -D warnings
1110
TOOL: cargo
@@ -19,7 +18,7 @@ build: &BUILD
1918
- . $HOME/.cargo/env || true
2019
- $TOOL +$TOOLCHAIN $BUILD $ZFLAGS --target $TARGET --all-targets
2120
- $TOOL +$TOOLCHAIN doc $ZFLAGS --no-deps --target $TARGET
22-
- $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET -- $CLIPPYFLAGS
21+
- $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET -- -D warnings
2322

2423
# Tests that do require executing the binaries
2524
test: &TEST
@@ -240,10 +239,6 @@ task:
240239
image: rustlang/rust:nightly
241240
env:
242241
BUILD: check
243-
# Must allow here rather than in lib.rs because this lint doesn't exist
244-
# prior to Rust 1.57.0
245-
# https://github.com/rust-lang/rust-clippy/issues/7718
246-
CLIPPYFLAGS: -D warnings -A clippy::if_then_panic
247242
TOOLCHAIN: nightly
248243
ZFLAGS: -Zbuild-std
249244
matrix:

0 commit comments

Comments
 (0)