diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-09-19 19:44:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-19 19:44:23 +0100 |
| commit | 3fee6d64384347539bcd5cad5c02d2a06fb3ad67 (patch) | |
| tree | 343aa04b74cbfe8c8f6f58553d05f95dc4d8806a | |
| parent | b6707ffc42c290565525533c9a5211f569fc2cf0 (diff) | |
| parent | c06551aba7c078aadfb9c02bf86b1472d6bc4ac3 (diff) | |
| download | rust-3fee6d64384347539bcd5cad5c02d2a06fb3ad67.tar.gz rust-3fee6d64384347539bcd5cad5c02d2a06fb3ad67.zip | |
Merge pull request #3197 from mikerite/travis_lint_list
Make travis check lint list
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rwxr-xr-x | ci/base-tests.sh | 2 |
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 |
