]>
git.lizzy.rs Git - rust.git/log
Alberto Leal [Fri, 8 Jul 2016 00:36:49 +0000 (20:36 -0400)]
Add note on how to enable the optional dependency
llogiq [Thu, 7 Jul 2016 04:41:22 +0000 (06:41 +0200)]
Merge pull request #1071 from dtolnay/javascript
Add "JavaScript" to doc-valid-idents
David Tolnay [Thu, 7 Jul 2016 04:27:29 +0000 (21:27 -0700)]
Add "JavaScript" to doc-valid-idents
mcarton [Wed, 6 Jul 2016 12:51:20 +0000 (14:51 +0200)]
Remove useless feature attribute
`iter_arith` has been stabilized in rustc 1.11.0.
llogiq [Mon, 4 Jul 2016 14:08:17 +0000 (16:08 +0200)]
Merge pull request #1069 from oli-obk/lets_assume_dependencies_already_lint_clippy_for_themselves
don't run clippy on dependencies when running cargo clippy
Oliver Schneider [Mon, 4 Jul 2016 11:33:48 +0000 (13:33 +0200)]
don't run clippy on dependencies when running cargo clippy
Martin Carton [Sun, 3 Jul 2016 20:36:00 +0000 (22:36 +0200)]
Merge pull request #1068 from AtheMathmo/useless_vec-constant-expr
Check for constant expression in useless_vec lint
James Lucas [Sun, 3 Jul 2016 19:12:43 +0000 (12:12 -0700)]
Check for constant expression in useless_vec lint
Manish Goregaokar [Sun, 3 Jul 2016 09:09:20 +0000 (14:39 +0530)]
Merge pull request #1067 from Manishearth/pr-991
Rebase #991
Manish Goregaokar [Sun, 3 Jul 2016 08:25:23 +0000 (13:55 +0530)]
Make #991 work with current rust
mcarton [Tue, 7 Jun 2016 15:29:22 +0000 (17:29 +0200)]
Improve `NOT_UNSAFE_PTR_ARG_DEREF` with functions
mcarton [Tue, 7 Jun 2016 14:55:55 +0000 (16:55 +0200)]
Add a new `not_unsafe_ptr_arg_deref` lint
Martin Carton [Sat, 2 Jul 2016 14:15:57 +0000 (16:15 +0200)]
Merge pull request #1054 from Manishearth/rustup
Rustup to
ea0dc9297283daff6486807f43e190b4eb561412
mcarton [Sat, 2 Jul 2016 14:02:27 +0000 (16:02 +0200)]
Bump to 0.0.78
Manish Goregaokar [Sat, 2 Jul 2016 12:02:10 +0000 (17:32 +0530)]
Merge pull request #1065 from mathstuf/doc-typos
typo: use commas around "e.g."
Ben Boeckel [Sat, 2 Jul 2016 02:59:42 +0000 (22:59 -0400)]
typo: use commas around "e.g."
mcarton [Fri, 1 Jul 2016 15:41:57 +0000 (17:41 +0200)]
mcarton [Tue, 28 Jun 2016 13:54:23 +0000 (15:54 +0200)]
Manish Goregaokar [Thu, 30 Jun 2016 04:35:11 +0000 (10:05 +0530)]
Merge pull request #1061 from Manishearth/double_neg
new lint: double_neg
Andre Bogus [Thu, 30 Jun 2016 04:33:21 +0000 (06:33 +0200)]
fixed doc nit
Andre Bogus [Wed, 29 Jun 2016 23:00:25 +0000 (01:00 +0200)]
new lint: double_neg
llogiq [Wed, 29 Jun 2016 18:41:03 +0000 (20:41 +0200)]
Merge pull request #1032 from Manishearth/mut_mut
Improve `mut_mut` and `collapsible_if`
mcarton [Wed, 22 Jun 2016 00:17:26 +0000 (02:17 +0200)]
Improve `matches` tests
mcarton [Tue, 21 Jun 2016 21:58:13 +0000 (23:58 +0200)]
Update CHANGELOG
mcarton [Tue, 21 Jun 2016 21:53:45 +0000 (23:53 +0200)]
Make `COLLAPSIBLE_IF` consider `if let`
mcarton [Tue, 21 Jun 2016 21:53:24 +0000 (23:53 +0200)]
Small cleanup
mcarton [Tue, 21 Jun 2016 21:17:18 +0000 (23:17 +0200)]
Make `CollapsibleIf` an `EarlyLintPass`
It doesn't need any `hir` feature and `ast` is much more stable.
mcarton [Tue, 21 Jun 2016 20:54:22 +0000 (22:54 +0200)]
Fix FP with `mut_mut` and `for` loops
Oliver Schneider [Wed, 29 Jun 2016 12:54:19 +0000 (14:54 +0200)]
Merge pull request #1057 from Manishearth/1055
Revert "Automatically defines the `clippy` feature"
mcarton [Wed, 29 Jun 2016 11:58:07 +0000 (13:58 +0200)]
Revert "Automatically defines the `clippy` feature"
This reverts commit
d7ba66bf44f993e64114e17cc15f1b0d56ae8f70.
It was causing problems with crates with:
```rust
#![cfg_attr(feature="clippy", plugin(clippy))]
```
Oliver Schneider [Tue, 28 Jun 2016 12:50:39 +0000 (14:50 +0200)]
Merge pull request #1053 from oli-obk/char_float_transmute
lint on unnecessary and plain wrong transmutes
Oliver Schneider [Tue, 28 Jun 2016 12:08:08 +0000 (14:08 +0200)]
lint on unnecessary and plain wrong transmutes
Oliver Schneider [Tue, 28 Jun 2016 08:58:31 +0000 (10:58 +0200)]
Merge pull request #1050 from Manishearth/fx-1049
Add parentheses when necessary in transmute suggestion (fixes #1049)
Manish Goregaokar [Tue, 28 Jun 2016 06:48:44 +0000 (12:18 +0530)]
Add parentheses when necessary in transmute suggestion (fixes #1049)
Manish Goregaokar [Mon, 27 Jun 2016 15:38:36 +0000 (21:08 +0530)]
Merge pull request #1048 from Manishearth/Manishearth-patch-1
readme formatting nit
Manish Goregaokar [Mon, 27 Jun 2016 15:38:16 +0000 (21:08 +0530)]
readme formatting nit
llogiq [Mon, 27 Jun 2016 15:20:03 +0000 (17:20 +0200)]
Merge pull request #1046 from oli-obk/unify_span_lint_usage
use span_lint_and_then instead of adding to the `DiagnosticWrapper`
llogiq [Mon, 27 Jun 2016 15:17:14 +0000 (17:17 +0200)]
Merge pull request #1045 from oli-obk/more_transmutes
lint transmuting references to pointer
Oliver Schneider [Mon, 27 Jun 2016 15:14:04 +0000 (17:14 +0200)]
use span_lint_and_then instead of adding to the `DiagnosticWrapper`
Oliver Schneider [Mon, 27 Jun 2016 14:12:48 +0000 (16:12 +0200)]
lint transmuting references to pointers
Oliver Schneider [Mon, 27 Jun 2016 11:46:21 +0000 (13:46 +0200)]
refactor transmute lints into a single match
Oliver Schneider [Sun, 26 Jun 2016 12:13:24 +0000 (14:13 +0200)]
Merge pull request #1041 from oli-obk/procedural
don't depend on regex_macros anymore
Oliver 'ker' Schneider [Sun, 26 Jun 2016 11:26:30 +0000 (13:26 +0200)]
rename mini-macro to clippy-mini-macro-test
Manish Goregaokar [Sat, 25 Jun 2016 22:28:17 +0000 (03:58 +0530)]
Merge pull request #1042 from oli-obk/raw_pointers
don't lint on comparing `*const f32`s
Oliver 'ker' Schneider [Sat, 25 Jun 2016 16:59:37 +0000 (18:59 +0200)]
don't lint on comparing `*const f32`s
Oliver 'ker' Schneider [Sat, 25 Jun 2016 16:12:29 +0000 (18:12 +0200)]
don't depend on regex_macros anymore
Manish Goregaokar [Sat, 25 Jun 2016 13:16:29 +0000 (18:46 +0530)]
Merge pull request #1038 from Manishearth/oli-obk-patch-2
add myself to Cargo.toml authors
Oliver Schneider [Sat, 25 Jun 2016 13:05:29 +0000 (15:05 +0200)]
add myself to Cargo.toml authors
Manish Goregaokar [Fri, 24 Jun 2016 13:01:02 +0000 (18:31 +0530)]
Merge pull request #1036 from bestouff/patch-1
Suggest Rust nightly
Xavier Bestel [Fri, 24 Jun 2016 12:55:17 +0000 (14:55 +0200)]
*latest* nightly
Xavier Bestel [Fri, 24 Jun 2016 12:41:58 +0000 (14:41 +0200)]
Suggest Rust nightly
Add one line to suggest that clippy won't compile with Rust stable.
Manish Goregaokar [Fri, 24 Jun 2016 05:57:02 +0000 (11:27 +0530)]
Merge pull request #1034 from Manishearth/travis_cache
try out cache: cargo with travis
Andre Bogus [Fri, 24 Jun 2016 05:20:33 +0000 (07:20 +0200)]
try out cache: cargo with travis
Martin Carton [Wed, 22 Jun 2016 13:12:58 +0000 (15:12 +0200)]
Merge pull request #1031 from oli-obk/travis2pointOH
speed up travis by not recompiling clippy just to test `cargo clippy`
Oliver Schneider [Wed, 22 Jun 2016 12:37:08 +0000 (14:37 +0200)]
pass the path to the correct command
llogiq [Wed, 22 Jun 2016 11:06:12 +0000 (13:06 +0200)]
Merge pull request #995 from oli-obk/oh_the_horror
lint on `filter(x).map(y)`, `filter(x).flat_map(y)`, `filter_map(x).flat_map(y)`
Oliver Schneider [Wed, 22 Jun 2016 11:03:59 +0000 (13:03 +0200)]
update lint doc text
Oliver Schneider [Wed, 22 Jun 2016 08:44:46 +0000 (10:44 +0200)]
unify the lints
Oliver Schneider [Wed, 22 Jun 2016 08:37:08 +0000 (10:37 +0200)]
add cargo/bin to PATH
Oliver Schneider [Wed, 22 Jun 2016 08:36:18 +0000 (10:36 +0200)]
create missing cargo directory
Martin Carton [Tue, 21 Jun 2016 19:23:39 +0000 (21:23 +0200)]
Merge pull request #1012 from Manishearth/nohyg
Don't use identifier hygiene in HIR
Oliver Schneider [Tue, 21 Jun 2016 15:20:08 +0000 (17:20 +0200)]
speed up travis by not recompiling clippy just to test `cargo clippy`
mcarton [Tue, 21 Jun 2016 14:26:56 +0000 (16:26 +0200)]
Bump to 0.0.77
Oliver Schneider [Tue, 21 Jun 2016 12:46:02 +0000 (14:46 +0200)]
fix tests
Oliver Schneider [Tue, 21 Jun 2016 12:41:16 +0000 (14:41 +0200)]
lint message nits
Oliver Schneider [Tue, 21 Jun 2016 12:39:56 +0000 (14:39 +0200)]
doc nits
Oliver Schneider [Tue, 21 Jun 2016 11:51:44 +0000 (13:51 +0200)]
fallout2
Oliver Schneider [Tue, 21 Jun 2016 11:49:08 +0000 (13:49 +0200)]
fallout
Oliver Schneider [Tue, 21 Jun 2016 11:48:56 +0000 (13:48 +0200)]
add tests
Oliver Schneider [Tue, 21 Jun 2016 11:32:34 +0000 (13:32 +0200)]
update lints
Oliver Schneider [Tue, 21 Jun 2016 11:04:50 +0000 (13:04 +0200)]
create a lint for each of the messages
Manish Goregaokar [Tue, 21 Jun 2016 10:47:38 +0000 (11:47 +0100)]
Merge pull request #1029 from oli-obk/manifest2
fix cargo clippy when using with `--manifest-path`
Oliver Schneider [Tue, 21 Jun 2016 10:35:49 +0000 (12:35 +0200)]
fix tests
Oliver Schneider [Tue, 21 Jun 2016 10:31:30 +0000 (12:31 +0200)]
fix cargo clippy when using with `--manifest-path`
Oliver Schneider [Wed, 8 Jun 2016 17:54:22 +0000 (19:54 +0200)]
lint on `filter(x).map(y)`, `filter(x).flat_map(y)`, `filter_map(x).flat_map(y)`
Manish Goregaokar [Tue, 21 Jun 2016 09:54:04 +0000 (15:24 +0530)]
Revert "fix cargo clippy when using with `--manifest-path`"
This reverts commit
b31bebeea4b7ae1a1312049745649d8d2c89c0f4.
Manish Goregaokar [Tue, 21 Jun 2016 09:45:39 +0000 (10:45 +0100)]
Merge pull request #1028 from oli-obk/manifest_path
fix cargo clippy when using with `--manifest-path`
Oliver Schneider [Tue, 21 Jun 2016 09:35:34 +0000 (11:35 +0200)]
fix cargo clippy when using with `--manifest-path`
mcarton [Fri, 17 Jun 2016 11:21:46 +0000 (13:21 +0200)]
Include restriction lints in the wiki
mcarton [Fri, 17 Jun 2016 10:57:44 +0000 (12:57 +0200)]
Fix paths in *update_wiki.py*
Martin Carton [Thu, 16 Jun 2016 21:59:09 +0000 (23:59 +0200)]
Merge pull request #1022 from devonhollowood/extend-iter-nth
Extend iter nth
Devon Hollowood [Thu, 16 Jun 2016 21:51:16 +0000 (14:51 -0700)]
Remove uneccessary, leftover comments in lint_iter_mut()
Devon Hollowood [Thu, 16 Jun 2016 21:46:29 +0000 (14:46 -0700)]
Extend iter_nth lint to work with iter_mut() and VecDeque
Devon Hollowood [Thu, 16 Jun 2016 21:30:05 +0000 (14:30 -0700)]
Add tests for extend-iter-nth
llogiq [Thu, 16 Jun 2016 17:00:43 +0000 (19:00 +0200)]
Merge pull request #994 from oli-obk/stuttter
Stuttter lint
Oliver 'ker' Schneider [Thu, 16 Jun 2016 16:37:56 +0000 (18:37 +0200)]
allow by default
Martin Carton [Thu, 16 Jun 2016 14:30:44 +0000 (16:30 +0200)]
Merge pull request #1021 from Manishearth/issue1017
Fix FP with `WHILE_LET_LOOP` and break expressions
mcarton [Thu, 16 Jun 2016 14:19:17 +0000 (16:19 +0200)]
Fix FP with `WHILE_LET_LOOP` and break expressions
Oliver Schneider [Fri, 10 Jun 2016 14:30:39 +0000 (16:30 +0200)]
round 3
Oliver Schneider [Fri, 10 Jun 2016 14:23:17 +0000 (16:23 +0200)]
round 2
Oliver Schneider [Fri, 10 Jun 2016 14:17:20 +0000 (16:17 +0200)]
round 1
Oliver Schneider [Fri, 10 Jun 2016 14:14:36 +0000 (16:14 +0200)]
only lint public stutter namings
Oliver Schneider [Wed, 8 Jun 2016 15:43:27 +0000 (17:43 +0200)]
lint items whose name starts/ends with their enclosing module's name
Oliver Schneider [Wed, 8 Jun 2016 13:32:30 +0000 (15:32 +0200)]
lint enum variants names that start or end with their enum's name
Oliver Schneider [Wed, 8 Jun 2016 13:03:30 +0000 (15:03 +0200)]
`Skip` for `Chars` doesn't help us b/c of the `ExactSizeIterator` bound
Manish Goregaokar [Thu, 16 Jun 2016 09:33:48 +0000 (10:33 +0100)]
Merge pull request #1016 from devonhollowood/slice-iter-nth
Suggest `.get()` over `.iter().nth()`
Devon Hollowood [Thu, 16 Jun 2016 09:02:00 +0000 (02:02 -0700)]
Make iter_nth work for `Vec`s too
Devon Hollowood [Thu, 16 Jun 2016 08:36:11 +0000 (01:36 -0700)]
Add slice_iter_nth lint
Devon Hollowood [Thu, 16 Jun 2016 08:29:03 +0000 (01:29 -0700)]
Add tests for slice_iter_nth
mcarton [Wed, 15 Jun 2016 14:27:56 +0000 (16:27 +0200)]
Don't use identifier hygiene in HIR