about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2018-09-19 19:44:23 +0100
committerGitHub <noreply@github.com>2018-09-19 19:44:23 +0100
commit3fee6d64384347539bcd5cad5c02d2a06fb3ad67 (patch)
tree343aa04b74cbfe8c8f6f58553d05f95dc4d8806a
parentb6707ffc42c290565525533c9a5211f569fc2cf0 (diff)
parentc06551aba7c078aadfb9c02bf86b1472d6bc4ac3 (diff)
downloadrust-3fee6d64384347539bcd5cad5c02d2a06fb3ad67.tar.gz
rust-3fee6d64384347539bcd5cad5c02d2a06fb3ad67.zip
Merge pull request #3197 from mikerite/travis_lint_list
Make travis check lint list
-rw-r--r--CHANGELOG.md1
-rw-r--r--README.md2
-rwxr-xr-xci/base-tests.sh2
3 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a2a83118ee8..82596edf30e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -764,6 +764,7 @@ All notable changes to this project will be documented in this file.
 [`needless_bool`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_bool
 [`needless_borrow`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_borrow
 [`needless_borrowed_reference`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_borrowed_reference
+[`needless_collect`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_collect
 [`needless_continue`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_continue
 [`needless_lifetimes`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_lifetimes
 [`needless_pass_by_value`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_pass_by_value
diff --git a/README.md b/README.md
index 79cb35587f4..3d994b4ef85 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ We are currently in the process of discussing Clippy 1.0 via the RFC process in
 
 A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
 
-[There are 275 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
+[There are 276 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
 
 We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you:
 
diff --git a/ci/base-tests.sh b/ci/base-tests.sh
index ba408bbb5fc..2358c8fe2ed 100755
--- a/ci/base-tests.sh
+++ b/ci/base-tests.sh
@@ -9,6 +9,8 @@ cargo build --features debugging
 cargo test --features debugging
 cd clippy_lints && cargo test && cd ..
 cd rustc_tools_util && cargo test && cd ..
+# check that the lint lists are up-to-date
+./util/update_lints.py -c
 mkdir -p ~/rust/cargo/bin
 cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy
 cp target/debug/clippy-driver ~/rust/cargo/bin/clippy-driver