diff options
author | Alan Somers <asomers@gmail.com> | 2021-11-15 18:50:10 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2021-11-15 18:50:10 -0700 |
commit | 18b73602b86b003fccff0ab92de33ebc20f312d5 (patch) | |
tree | b45222d2045a95c7ec28aebb0ad7098439e85583 | |
parent | 57d4c863ab3d1b25a58f6ebeea36bcb8fadcf36b (diff) | |
download | nix-18b73602b86b003fccff0ab92de33ebc20f312d5.zip |
Revert "Suppress a warning from the latest clippy"
This reverts commit fb1ae125d931b2de5bae05df614e8af565bf31c6.
Nightly clippy removed the warning in question.
-rw-r--r-- | .cirrus.yml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 3848f920..c3d87611 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,6 @@ cargo_cache: env: # Build by default; don't just check BUILD: build - CLIPPYFLAGS: -D warnings RUSTFLAGS: -D warnings RUSTDOCFLAGS: -D warnings TOOL: cargo @@ -19,7 +18,7 @@ build: &BUILD - . $HOME/.cargo/env || true - $TOOL +$TOOLCHAIN $BUILD $ZFLAGS --target $TARGET --all-targets - $TOOL +$TOOLCHAIN doc $ZFLAGS --no-deps --target $TARGET - - $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET -- $CLIPPYFLAGS + - $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET -- -D warnings # Tests that do require executing the binaries test: &TEST @@ -240,10 +239,6 @@ task: image: rustlang/rust:nightly env: BUILD: check - # Must allow here rather than in lib.rs because this lint doesn't exist - # prior to Rust 1.57.0 - # https://github.com/rust-lang/rust-clippy/issues/7718 - CLIPPYFLAGS: -D warnings -A clippy::if_then_panic TOOLCHAIN: nightly ZFLAGS: -Zbuild-std matrix: |