Skip to content

Commit 3fee6d6

Browse files
authored
Merge pull request #3197 from mikerite/travis_lint_list
Make travis check lint list
2 parents b6707ff + c06551a commit 3fee6d6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ All notable changes to this project will be documented in this file.
764764
[`needless_bool`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_bool
765765
[`needless_borrow`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_borrow
766766
[`needless_borrowed_reference`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_borrowed_reference
767+
[`needless_collect`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_collect
767768
[`needless_continue`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_continue
768769
[`needless_lifetimes`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_lifetimes
769770
[`needless_pass_by_value`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_pass_by_value

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ We are currently in the process of discussing Clippy 1.0 via the RFC process in
99

1010
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
1111

12-
[There are 275 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
12+
[There are 276 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
1313

1414
We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you:
1515

ci/base-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ cargo build --features debugging
99
cargo test --features debugging
1010
cd clippy_lints && cargo test && cd ..
1111
cd rustc_tools_util && cargo test && cd ..
12+
# check that the lint lists are up-to-date
13+
./util/update_lints.py -c
1214
mkdir -p ~/rust/cargo/bin
1315
cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy
1416
cp target/debug/clippy-driver ~/rust/cargo/bin/clippy-driver

0 commit comments

Comments
 (0)