R.Chavignat
|
993239d33a
|
Initial implementation of lossy cast lints.
Introduces 3 lints :
cast_possible_overflow
cast_precision_loss
cast_sign_loss
Add a compile-test test case.
Fix errors spotted by dogfood script.
|
2015-08-20 01:04:06 +02:00 |
|
Georg Brandl
|
8f4499f3ae
|
new lint: comparing unit types (fixes #201)
|
2015-08-19 08:11:00 +02:00 |
|
Georg Brandl
|
e9a41e2374
|
new lint: lint when iterating over any Iterator::next() result (fixes #182)
|
2015-08-17 07:28:40 +02:00 |
|
Nathan Weston
|
23a38c4170
|
New lint: Range::step_by(0) (fixes #95)
Uses type information so it can detect non-literal ranges as well
(Range or RangeFrom -- the other range types don't have step_by).
|
2015-08-16 12:58:54 -04:00 |
|
Georg Brandl
|
137a9f3def
|
methods: allow Option.unwrap by default
|
2015-08-15 07:23:04 +02:00 |
|
Georg Brandl
|
9578403638
|
new lint: looping over x.iter() or x.iter_mut() (fixes #157)
|
2015-08-13 16:31:16 +02:00 |
|
Georg Brandl
|
e03b71606b
|
update_lints: add a check mode for travis runs
|
2015-08-13 15:30:06 +02:00 |
|
Manish Goregaokar
|
1d64553bc6
|
Merge branch 'pr-152'
Conflicts:
README.md
src/lib.rs
src/strings.rs
|
2015-08-13 18:38:08 +05:30 |
|
llogiq
|
0ba08715e5
|
Merge
|
2015-08-13 11:41:50 +02:00 |
|
llogiq
|
0b08e9e83e
|
added string_add lint and fixed string_add_assign + test
|
2015-08-13 11:36:39 +02:00 |
|
llogiq
|
71b46d9ecd
|
improved string_add/string_add_assign messages, Allow-by-default string_add_assign
|
2015-08-13 11:35:30 +02:00 |
|
Georg Brandl
|
2c2716f045
|
all: DRY for lint descriptions
* use the rustc style for lint descriptions
* add a script to parse all lint descriptions
and put the generated table into README
|
2015-08-13 11:14:05 +02:00 |
|
Manish Goregaokar
|
79bf774e9b
|
Update README.md
|
2015-08-12 21:25:26 +05:30 |
|
llogiq
|
2d55381a96
|
added string_add lint and fixed string_add_assign + test
|
2015-08-12 15:50:56 +02:00 |
|
Georg Brandl
|
2eacb3c146
|
README: update lint output
|
2015-08-12 07:52:45 +02:00 |
|
Georg Brandl
|
f6dc48fe3a
|
new lint for "let x = EXPR; x" at the end of functions (fixes #104)
|
2015-08-11 22:25:47 +02:00 |
|
Georg Brandl
|
dfd1f42dd2
|
README: update with recently added lints
|
2015-08-11 21:31:04 +02:00 |
|
Georg Brandl
|
e318328d63
|
all: whitespace cleanup
* 4-space indentation
* no trailing whitespace
* no tabs
|
2015-08-11 20:22:50 +02:00 |
|
llogiq
|
b393752814
|
New string_add_assign lint (first part of #121), also formatting & refactoring
|
2015-08-05 15:10:45 +02:00 |
|
llogiq
|
251c5cfffd
|
rustup, also first time clippy was used on itself, which led to a small refactoring
|
2015-07-16 08:53:02 +02:00 |
|
Ben S
|
e774fd1650
|
Remove redundant 'redundant_closure' description
There were two of them in the README, now there are one.
|
2015-06-17 18:24:31 +01:00 |
|
llogiq
|
23caf3cccc
|
first unicode lint: zero_width_space
|
2015-06-11 11:35:00 +02:00 |
|
Michael Rutherford
|
a275d99628
|
Fixed spelling error
Fixed a spelling error and added a comma in the README.md file.
|
2015-06-06 13:28:58 -05:00 |
|
Manish Goregaokar
|
240d9716d8
|
Update README.md
|
2015-06-04 09:15:56 +05:30 |
|
llogiq
|
87047c3223
|
explained recently added lints
|
2015-06-02 09:23:22 +02:00 |
|
llogiq
|
5b1287f017
|
added description to README
|
2015-05-21 14:57:20 +02:00 |
|
llogiq
|
57a6b93ed0
|
Merge pull request #62 from Manishearth/len_zero_is_empty
Here goes nothing... 😄
|
2015-05-20 10:38:08 +02:00 |
|
llogiq
|
e8ca3c6eae
|
new lints len_zero and len_without_is_empty
|
2015-05-20 08:52:19 +02:00 |
|
Manish Goregaokar
|
303c8f7b5e
|
Update README.md
|
2015-05-18 16:02:25 +05:30 |
|
Camille TJHOA
|
04f48455e5
|
Specify languages for examples
|
2015-05-18 12:22:46 +02:00 |
|
Camille TJHOA
|
b533b084f3
|
Fix typo
|
2015-05-18 12:22:46 +02:00 |
|
Camille TJHOA
|
bac950b4d6
|
Fix and improve README
|
2015-05-18 12:22:45 +02:00 |
|
llogiq
|
96bfade4f1
|
New lint: mut_mut (closes issue #9)
|
2015-05-18 09:02:24 +02:00 |
|
llogiq
|
edf747ab76
|
new lint: identity_op, refactored bit_masks a bit
|
2015-05-15 18:46:43 +02:00 |
|
llogiq
|
6bec4f35df
|
Added 'ineffective bit mask' lint
|
2015-05-15 14:09:29 +02:00 |
|
Manish Goregaokar
|
905509083c
|
Update README.md
|
2015-05-14 14:41:33 +05:30 |
|
Manish Goregaokar
|
2ffbdfdcd0
|
oops
|
2015-05-10 16:13:02 +05:30 |
|
Manish Goregaokar
|
4eb47abde7
|
crates
|
2015-05-10 16:10:05 +05:30 |
|
Manish Goregaokar
|
2447e1d5be
|
Add eta reduction (fixes #29)
|
2015-05-10 11:49:08 +05:30 |
|
llogiq
|
17bcf0e865
|
New lint: precedence, see issue #41
|
2015-05-06 12:59:08 +02:00 |
|
llogiq
|
ac151bb1f0
|
Added new 'float_cmp' lint (see issue #46)
|
2015-05-06 10:01:49 +02:00 |
|
llogiq
|
2cb84b9d15
|
New lint: approx_const
|
2015-05-04 12:01:34 +02:00 |
|
llogiq
|
8d2328d9a5
|
Added &String matching and renamed to vec_ptr_arg to ptr_arg, also added README section
|
2015-05-04 08:15:24 +02:00 |
|
llogiq
|
53fa76dff9
|
new lint: needless_bool (TODO: The warnings could give more specific directions)
|
2015-05-02 00:35:49 +02:00 |
|
llogiq
|
441b55b328
|
Added eq_op and bad_bit_mask from the extra_lints project (mostly plain copy, need to refactor to integrate better)
|
2015-04-30 11:48:43 +02:00 |
|
Manish Goregaokar
|
433c834897
|
more readme
|
2014-12-28 20:12:48 +05:30 |
|
Jonathan Castello
|
a7d5048d48
|
Update README.md for clippy_toplevel_ref_arg .
|
2014-12-24 18:37:50 -08:00 |
|
Manish Goregaokar
|
2703038f93
|
Add seanmonstar's StrToString lint
|
2014-12-16 00:46:39 +05:30 |
|
Manish Goregaokar
|
1e182b36fb
|
Update README.md
|
2014-12-10 12:21:55 +05:30 |
|
Manish Goregaokar
|
e9c08c4b12
|
dlist readme
|
2014-11-20 13:44:22 +05:30 |
|
Manish Goregaokar
|
7cf7e4368f
|
readme
|
2014-11-20 00:49:03 +05:30 |
|
Manish Goregaokar
|
507dc2b7ec
|
Create README.md
|
2014-11-19 13:20:46 +05:30 |
|