flip1995
|
1751d2496d
|
Run rustfmt on clippy_lints
|
2018-11-27 21:14:15 +01:00 |
|
Philipp Hansch
|
beb44ef6ca
|
Fix clippy build failure on latest master
|
2018-11-01 20:35:23 +01:00 |
|
Manish Goregaokar
|
e9c025ea70
|
Add license header to Rust files
|
2018-10-06 09:43:08 -07:00 |
|
Vitaly _Vi Shukela
|
58729346be
|
Fill in Applicability from review comments by @flip1995
|
2018-09-20 14:38:48 +02:00 |
|
Vitaly _Vi Shukela
|
3eccccb367
|
Fix indents
|
2018-09-20 14:38:48 +02:00 |
|
Vitaly _Vi Shukela
|
3e853a632e
|
Add forgotten function: span_suggestion*s* to the previous refactoting
|
2018-09-20 14:38:47 +02:00 |
|
Vitaly _Vi Shukela
|
92034e20c8
|
Use span_suggestion_with_applicability instead of span_suggestion
|
2018-09-20 14:38:47 +02:00 |
|
Eduard-Mihai Burtescu
|
9219fc6c5c
|
Reintroduce extern crate for non-Cargo dependencies.
|
2018-09-15 11:10:51 +03:00 |
|
flip1995
|
f3bb161f0e
|
Adapt codebase to the tool_lints
|
2018-08-29 11:08:29 -07:00 |
|
flip1995
|
8c07772dbb
|
Switch to declare_tool_lint macro
|
2018-08-29 11:08:29 -07:00 |
|
Manish Goregaokar
|
76321d3300
|
codemap -> source_map
https://github.com/rust-lang/rust/pull/52953
|
2018-08-19 19:06:54 -07:00 |
|
Manish Goregaokar
|
bac76afb5a
|
Rustup to rustc 1.30.0-nightly (23f09bbed 2018-08-14)
|
2018-08-14 11:26:28 -07:00 |
|
Oliver Schneider
|
afd91248ed
|
Rustup
|
2018-07-23 13:01:12 +02:00 |
|
Manish Goregaokar
|
5d74e2096b
|
Remove import of rustc
|
2018-07-19 00:53:23 -07:00 |
|
csmoe
|
5d4102ee78
|
BinOpKind
|
2018-07-16 11:46:37 +02:00 |
|
csmoe
|
1bd17e4fa2
|
ExprKind
|
2018-07-16 11:46:37 +02:00 |
|
Mateusz Mikuła
|
48cb6e273e
|
Rustup
|
2018-06-29 09:49:05 +02:00 |
|
Bruno Kirschner
|
28f735bb26
|
Cleaned implements_ord helper function in boolean lint file.
|
2018-06-03 22:56:17 +02:00 |
|
Bruno Kirschner
|
80728a2201
|
Reduced scope of nonminimal_bool so that it doesn't evaluate only partially orded types.
|
2018-06-03 21:46:09 +02:00 |
|
Mateusz Mikuła
|
424a33720d
|
Run rustfix
|
2018-05-30 10:15:50 +02:00 |
|
Philipp Hansch
|
90e7d93d6c
|
Fix nonminimal_bool false positive
It was checking any is_ok, is_err, is_some, is_none method for negation
but it should only perform the check for the built-in types, not custom
types.
|
2018-04-07 12:52:59 +02:00 |
|
Oliver Schneider
|
d6344c47e3
|
Categorize all the lints!
|
2018-03-28 15:24:26 +02:00 |
|
Mateusz Mikuła
|
cfb9b982c5
|
Apply clippy suggestions
Signed-off-by: Mateusz Mikuła <mati865@gmail.com>
|
2018-03-16 10:54:49 +01:00 |
|
Oliver Schneider
|
f65a022ace
|
Fix #2245
|
2017-11-29 16:03:05 +01:00 |
|
laurent
|
ed202b6055
|
Bugfix + add test.
|
2017-11-19 11:29:25 +00:00 |
|
laurent
|
8e9d0c277c
|
Remove the brackets argument.
|
2017-11-19 11:29:25 +00:00 |
|
laurent
|
b74ed09d42
|
Use a struct to store most of the recurse parameters for boolean expr suggestion.
|
2017-11-19 11:29:25 +00:00 |
|
laurent
|
87f5b1f043
|
Remove the union type.
|
2017-11-16 21:20:17 +00:00 |
|
laurent
|
e44af6b14d
|
First attempt at simplifying boolean processing.
|
2017-11-16 21:08:08 +00:00 |
|
laurent
|
25783fa485
|
Raise a lint when suggest has simplified the expression.
|
2017-11-14 21:14:08 +00:00 |
|
Oliver Schneider
|
bdf3887d22
|
Move 'handle_method_call_in_not' code into 'suggest'
|
2017-11-14 17:07:04 +01:00 |
|
laurent
|
14d5013314
|
Use both pair orders.
|
2017-11-10 19:55:15 +00:00 |
|
laurent
|
67aeb2eaeb
|
Only apply when there is a single argument.
|
2017-11-07 21:49:30 +00:00 |
|
laurent
|
82793768b7
|
Handle methods with an immediate negation in the non-minimal boolean lint, fixes #1930.
|
2017-11-07 21:43:24 +00:00 |
|
topecongiro
|
7a06d312fd
|
Cargo fmt
|
2017-11-05 04:55:56 +09:00 |
|
Oliver Schneider
|
e4524ac4de
|
Run nightly rustfmt
|
2017-09-05 12:39:27 +02:00 |
|
Oliver Schneider
|
f3ae929b2d
|
Rustup
|
2017-08-15 11:10:49 +02:00 |
|
Oliver Schneider
|
b25b6b3355
|
Rustfmt
|
2017-08-14 09:43:26 +02:00 |
|
Manish Goregaokar
|
55cb63adfe
|
Bump to 0.0.139
|
2017-06-10 22:07:09 -07:00 |
|
Oliver Schneider
|
4d5e25f31d
|
Update to rustc 1.19.0-nightly (826d8f385 2017-05-13)
fixes #1759, #1758
|
2017-05-14 09:56:10 +02:00 |
|
Oliver Schneider
|
a6c8464dde
|
Update to rustc 1.19.0-nightly (6a5fc9eec 2017-05-02)
|
2017-05-03 12:51:47 +02:00 |
|
Enrico Schmitz
|
7a4f7c335b
|
Remove unused cs parameter for is_macro and friends
|
2017-04-01 00:14:04 +02:00 |
|
Oliver Schneider
|
713da45906
|
apply rustfmt
|
2017-01-17 19:30:32 +01:00 |
|
Oliver Schneider
|
d944d7df9a
|
rustup to 2017-01-12
|
2017-01-13 17:04:56 +01:00 |
|
Oliver Schneider
|
4a4e1ea2c5
|
also run rustfmt on clippy-lints
|
2016-12-20 18:21:30 +01:00 |
|
Oliver Schneider
|
778ce4dfd3
|
update to the rust-PR that unblocks clippy
|
2016-12-07 13:13:40 +01:00 |
|
Oliver Schneider
|
c6e2967b9c
|
rustup to rustc 1.15.0-dev (3b248a184 2016-12-05)
|
2016-12-06 11:32:21 +01:00 |
|
mcarton
|
19c5f5394b
|
Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14)
|
2016-11-16 23:05:26 +01:00 |
|
Georg Brandl
|
c4dad550f7
|
Close code block in docstring
|
2016-08-08 13:34:21 +02:00 |
|
Georg Brandl
|
b91c1a509e
|
Make lint descriptions short and to the point; always fitting the column "triggers on".
|
2016-08-07 08:09:26 +02:00 |
|
Georg Brandl
|
3b5ff0f813
|
Make the lint docstrings more consistent.
|
2016-08-07 08:06:19 +02:00 |
|
mcarton
|
caa76e119b
|
Improve docs
|
2016-07-16 00:26:54 +02:00 |
|
mcarton
|
3c4af49662
|
Rustup to ea0dc9297283daff6486807f43e190b4eb561412
|
2016-07-01 17:44:17 +02:00 |
|
mcarton
|
90453fd893
|
Run rustfmt
Only partially apply suggestions.
|
2016-06-10 00:08:14 +02:00 |
|
Oliver Schneider
|
bf227f4729
|
split clippy into lints, plugin and cargo-clippy
|
2016-05-27 13:03:58 +02:00 |
|