Commit Graph

1615 Commits

Author SHA1 Message Date
Martin Pool
585a3b2565 Fix Markdown syntax in description of collapsible_if 2016-07-09 12:20:54 -07:00
llogiq
65d27b49f5 Merge pull request #1074 from Manishearth/fix-doc
Handle `/**` and `~~~` in `DOC_MARKDOWN`
2016-07-09 01:40:28 +02:00
mcarton
56d3bc7008
Handle /** and ~~~ in DOC_MARKDOWN 2016-07-08 18:24:47 +02:00
Manish Goregaokar
3cd177d2db Merge pull request #1072 from dashed/patch-1
Add note on how to enable the optional dependency
2016-07-08 11:00:57 +05:30
Alberto Leal
b71b1a078c Add note on how to enable the optional dependency 2016-07-07 20:36:49 -04:00
llogiq
46d8f62835 Merge pull request #1071 from dtolnay/javascript
Add "JavaScript" to doc-valid-idents
2016-07-07 06:41:22 +02:00
David Tolnay
33c767c510
Add "JavaScript" to doc-valid-idents 2016-07-06 21:27:29 -07:00
mcarton
3bd0acaa5c
Remove useless feature attribute
`iter_arith` has been stabilized in rustc 1.11.0.
2016-07-06 14:51:20 +02:00
llogiq
ecc75a8b32 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
2016-07-04 16:08:17 +02:00
Oliver Schneider
871f8dcab3
don't run clippy on dependencies when running cargo clippy 2016-07-04 13:33:48 +02:00
Martin Carton
5d6e4a6f4d Merge pull request #1068 from AtheMathmo/useless_vec-constant-expr
Check for constant expression in useless_vec lint
2016-07-03 22:36:00 +02:00
James Lucas
10b545e30b Check for constant expression in useless_vec lint 2016-07-03 12:12:43 -07:00
Manish Goregaokar
4e9ca25584 Merge pull request #1067 from Manishearth/pr-991
Rebase #991
2016-07-03 14:39:20 +05:30
Manish Goregaokar
31948c4815
Make #991 work with current rust 2016-07-03 13:55:23 +05:30
mcarton
0e3dcd1376
Improve NOT_UNSAFE_PTR_ARG_DEREF with functions 2016-07-03 13:29:04 +05:30
mcarton
7781f1d7c5 Add a new not_unsafe_ptr_arg_deref lint 2016-07-03 13:28:34 +05:30
Martin Carton
d243d686fd Merge pull request #1054 from Manishearth/rustup
Rustup to ea0dc92972
2016-07-02 16:15:57 +02:00
mcarton
f609ac5b58 Bump to 0.0.78 2016-07-02 16:02:27 +02:00
Manish Goregaokar
cb9786e715 Merge pull request #1065 from mathstuf/doc-typos
typo: use commas around "e.g."
2016-07-02 17:32:10 +05:30
Ben Boeckel
d35b94349c typo: use commas around "e.g." 2016-07-02 07:59:20 -04:00
mcarton
55b78ae478
Rustup to ea0dc92972 II 2016-07-01 17:44:17 +02:00
mcarton
3c4af49662
Rustup to ea0dc92972 2016-07-01 17:44:17 +02:00
Manish Goregaokar
b5b6945755 Merge pull request #1061 from Manishearth/double_neg
new lint: double_neg
2016-06-30 10:05:11 +05:30
Andre Bogus
b73180231a fixed doc nit 2016-06-30 06:33:21 +02:00
Andre Bogus
a12e8394d7 new lint: double_neg 2016-06-30 01:00:25 +02:00
llogiq
d6e3fa8f49 Merge pull request #1032 from Manishearth/mut_mut
Improve `mut_mut` and `collapsible_if`
2016-06-29 20:41:03 +02:00
mcarton
9e76bcee5d
Improve matches tests 2016-06-29 17:10:21 +02:00
mcarton
eba449c2c0
Update CHANGELOG 2016-06-29 17:10:21 +02:00
mcarton
ea76ac5562
Make COLLAPSIBLE_IF consider if let 2016-06-29 17:09:39 +02:00
mcarton
f6ba217c1c
Small cleanup 2016-06-29 17:09:39 +02:00
mcarton
f37c9adbd9
Make CollapsibleIf an EarlyLintPass
It doesn't need any `hir` feature and `ast` is much more stable.
2016-06-29 17:09:39 +02:00
mcarton
7fa38f6787
Fix FP with mut_mut and for loops 2016-06-29 17:09:39 +02:00
Oliver Schneider
5f6b982bc9 Merge pull request #1057 from Manishearth/1055
Revert "Automatically defines the `clippy` feature"
2016-06-29 14:54:19 +02:00
mcarton
e4dceef7e7
Revert "Automatically defines the clippy feature"
This reverts commit d7ba66bf44.

It was causing problems with crates with:

```rust
#![cfg_attr(feature="clippy", plugin(clippy))]
```
2016-06-29 14:29:25 +02:00
Oliver Schneider
9ceb708727 Merge pull request #1053 from oli-obk/char_float_transmute
lint on unnecessary and plain wrong transmutes
2016-06-28 14:50:39 +02:00
Oliver Schneider
e06bc37477
lint on unnecessary and plain wrong transmutes 2016-06-28 14:08:08 +02:00
Oliver Schneider
9742b5bec3 Merge pull request #1050 from Manishearth/fx-1049
Add parentheses when necessary in transmute suggestion (fixes #1049)
2016-06-28 10:58:31 +02:00
Manish Goregaokar
cdce78a4be
Add parentheses when necessary in transmute suggestion (fixes #1049) 2016-06-28 14:03:46 +05:30
Manish Goregaokar
910a62444c Merge pull request #1048 from Manishearth/Manishearth-patch-1
readme formatting nit
2016-06-27 21:08:36 +05:30
Manish Goregaokar
f4115f104e readme formatting nit 2016-06-27 21:08:16 +05:30
llogiq
5aea20da7f Merge pull request #1046 from oli-obk/unify_span_lint_usage
use span_lint_and_then instead of adding to the `DiagnosticWrapper`
2016-06-27 17:20:03 +02:00
llogiq
8f6e32d921 Merge pull request #1045 from oli-obk/more_transmutes
lint transmuting references to pointer
2016-06-27 17:17:14 +02:00
Oliver Schneider
799861d7e0
use span_lint_and_then instead of adding to the DiagnosticWrapper 2016-06-27 17:14:04 +02:00
Oliver Schneider
a469ee1061
lint transmuting references to pointers 2016-06-27 16:12:48 +02:00
Oliver Schneider
083c57867a
refactor transmute lints into a single match 2016-06-27 13:46:21 +02:00
Oliver Schneider
60cc87baba Merge pull request #1041 from oli-obk/procedural
don't depend on regex_macros anymore
2016-06-26 14:13:24 +02:00
Oliver 'ker' Schneider
2e86eb88f3 rename mini-macro to clippy-mini-macro-test 2016-06-26 13:26:30 +02:00
Manish Goregaokar
e43d1d78cd Merge pull request #1042 from oli-obk/raw_pointers
don't lint on comparing `*const f32`s
2016-06-26 03:58:17 +05:30
Oliver 'ker' Schneider
8c5e617c9a don't lint on comparing *const f32s 2016-06-25 18:59:37 +02:00
Oliver 'ker' Schneider
d57192d5c1 don't depend on regex_macros anymore 2016-06-25 18:12:29 +02:00