about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-11 05:09:18 +0000
committerbors <bors@rust-lang.org>2019-04-11 05:09:18 +0000
commitbad3e080bdaa03af627abaec9dbd07d33ad272d7 (patch)
treea4fd14a710123b93ccbaa618b58dd88475fb2938 /src
parent2278814c8e33573b1c870c65f5fcbe69ea20601d (diff)
parenta7bfac735390d8c78c9f08e2ba8d87ac997f9dc9 (diff)
downloadrust-bad3e080bdaa03af627abaec9dbd07d33ad272d7.tar.gz
rust-bad3e080bdaa03af627abaec9dbd07d33ad272d7.zip
Auto merge of #3930 - sunjay:patch-1, r=flip1995
Mention that -D warnings will deny ALL warnings, not just clippy warnings

If we pass `-D warnings` to clippy, it causes the build to fail if there are *any* warnings, even the ones not generated by clippy. This isn't immediately obvious when you're looking at this as someone just setting up clippy, so people might not expect this nor know how to fix it. I've added a few sentences in the README to help anyone who runs into this.

These docs are useful for anyone setting up clippy warnings to be denied during CI, but still otherwise want rustc warnings to be allowed.

I could have also changed `-D warnings` to `-D clippy::all` in the Travis configurations themselves, but I wasn't sure what you would prefer to have people use as the default.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions