about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-22 22:59:21 +0000
committerbors <bors@rust-lang.org>2020-12-22 22:59:21 +0000
commit971e5b33dafbe9a656b048d92d6cd39fddbcb152 (patch)
tree765325fb6fb7fffa4731f0a4b3ccb41fc2c74558
parent4772eb8d1baf61e8325095201add9a606b11bf70 (diff)
parentd6a7ebcdd6dc29fcddc843486b7a9bc4f7be7a42 (diff)
downloadrust-971e5b33dafbe9a656b048d92d6cd39fddbcb152.tar.gz
rust-971e5b33dafbe9a656b048d92d6cd39fddbcb152.zip
Auto merge of #6496 - matthiaskrgr:test_fix, r=Manishearth
ci: test cargo clippy --fix -Zunstable-options

Make sure we catch cases like https://github.com/rust-lang/rust-clippy/issues/6487 in CI in the future.

---

*Please write a short comment explaining your change (or "none" for internal only changes)*
changelog: none
-rw-r--r--.github/workflows/clippy.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index 530e60001f7..17812b74ab2 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -57,6 +57,10 @@ jobs:
       run: cargo test --features deny-warnings,internal-lints
       working-directory: clippy_lints
 
+    - name: Test --fix -Zunstable-options
+      run: cargo run --bin cargo-clippy -- clippy --fix -Zunstable-options
+      working-directory: clippy_lints
+
     - name: Test rustc_tools_util
       run: cargo test --features deny-warnings
       working-directory: rustc_tools_util