Manish Goregaokar
|
3d9a7d9140
|
Add test for new() -> Self<'static>
|
2016-03-27 02:46:37 +05:30 |
|
mcarton
|
15e55f5df5
|
Deprecates 4 lints
Namely STR_TO_STRING, STRING_TO_STRING, UNSTABLE_AS_SLICE and
UNSTABLE_AS_MUT_SLICE.
|
2016-03-24 19:56:48 +01:00 |
|
Oliver Schneider
|
06ca1fc0a6
|
lint on binding-names that are too similar
|
2016-03-18 14:06:39 +01:00 |
|
mcarton
|
a3031e34f9
|
Add a BLACKLISTED_NAME lint
|
2016-03-12 14:51:45 +01:00 |
|
mcarton
|
052f5984e7
|
Fix types comparison
|
2016-03-08 17:00:44 +01:00 |
|
mcarton
|
d7129f560d
|
Lint types with fn new() -> Self and no Default impl
|
2016-03-08 17:00:37 +01:00 |
|
Joshua Holmer
|
b1e4b496e1
|
Address @ilogiq's nits
|
2016-02-15 13:36:10 -05:00 |
|
Joshua Holmer
|
7eea67605a
|
Lint single-character strings as P: Pattern args
Fixes #650
|
2016-02-14 22:40:43 -05:00 |
|
mcarton
|
e8c2aa2997
|
Lint about new methods not returning Self
|
2016-02-13 13:03:28 +01:00 |
|
mcarton
|
edc0d19a3f
|
Add new to WRONG_SELF_CONVENTION
|
2016-02-13 01:42:46 +01:00 |
|
mcarton
|
7f567ce1d1
|
Fix false negative with OK_EXPECT
|
2016-02-13 01:38:55 +01:00 |
|
Manish Goregaokar
|
8f7b8524d3
|
Test for double-ref lint
|
2016-02-05 16:04:59 +05:30 |
|
mcarton
|
fab10c07e8
|
Fix confusing message for STRING_TO_STRING
|
2016-02-03 13:52:19 +01:00 |
|
mcarton
|
db205c82a4
|
Add a lint about using clone on Copy types
|
2016-02-02 22:35:01 +01:00 |
|
llogiq
|
a1ac3125de
|
fixed and extended tests
|
2016-01-27 20:13:15 +01:00 |
|
llogiq
|
5d5e50d67e
|
fixed suggestion for iter case
|
2016-01-27 14:51:30 +01:00 |
|
llogiq
|
d152e5c683
|
fixed argument check
|
2016-01-26 23:51:06 +01:00 |
|
llogiq
|
2d97f916eb
|
added more test, now works with vecs and iter
|
2016-01-25 19:46:56 +01:00 |
|
llogiq
|
ed96583677
|
extend_from_slice lint
|
2016-01-25 14:02:47 +01:00 |
|
mcarton
|
91ff1db5bc
|
Add a lint for starts_with
|
2016-01-20 12:57:14 +01:00 |
|
mcarton
|
5ac6659814
|
Handle Entry types in OR_FUN_CALL lint
|
2016-01-20 11:42:25 +01:00 |
|
mcarton
|
8642306f09
|
Add a test for the OR_FUN_CALL lint
|
2016-01-18 13:36:58 +01:00 |
|
mcarton
|
b5f65ec699
|
Improve OR_FUN_CALL to suggest unwrap_or_default
|
2016-01-18 13:11:07 +01:00 |
|
mcarton
|
c6604bb281
|
Add a lint to warn about call to .*or(foo(..))
|
2016-01-16 18:47:45 +01:00 |
|
Devon Hollowood
|
093582c102
|
Make MethodsPass lint notes clearer
|
2015-12-30 01:07:40 -08:00 |
|
Devon Hollowood
|
a6bd2d0622
|
Add SEARCH_IS_SOME lint
|
2015-12-30 00:38:03 -08:00 |
|
Devon Hollowood
|
bbd439ec9e
|
Add FILTER_NEXT lint
|
2015-12-28 16:56:58 -08:00 |
|
Devon Hollowood
|
443e4556c2
|
Add lints suggesting map_or() and map_or_else()
In accordance with the latter lint, replace map().unwrap_or_else() in
src/mut_mut.rs with map_or_else()
|
2015-11-25 23:56:45 -08:00 |
|
Florian Hartwig
|
096c064d43
|
Simplify has_debug_impl
|
2015-11-19 20:13:36 +01:00 |
|
Florian Hartwig
|
cad88a9137
|
warn on use of ok().expect()
|
2015-11-19 17:15:21 +01:00 |
|
Manish Goregaokar
|
140c34f85e
|
Tests shouldn't be executable (fixes #444)
|
2015-11-09 08:49:20 +05:30 |
|
Georg Brandl
|
5264196538
|
methods: try to allow value self when type is Copy (fixes #273)
|
2015-09-01 21:08:49 +02:00 |
|
Georg Brandl
|
1007864198
|
new lint: self conventions for certain method names (fixes #267)
|
2015-09-01 18:52:48 +02:00 |
|
Georg Brandl
|
88dd38de87
|
lib: add clippy_pedantic group with all Allow by default lints (fixes #265)
|
2015-09-01 18:05:28 +02:00 |
|
Manish Goregaokar
|
193e71be61
|
Merge branch 'pr-228'
Conflicts:
README.md
src/methods.rs
|
2015-08-27 11:09:40 +05:30 |
|
Georg Brandl
|
6fa34cca29
|
methods: suggest correct replacement for to_string() (fixes #232)
|
2015-08-25 18:39:21 +02:00 |
|
Georg Brandl
|
56e8db476c
|
new lint: inherent methods that should be trait impls (fixes #218)
|
2015-08-25 11:10:42 +02:00 |
|
Georg Brandl
|
7aee04878f
|
tests: use fragment of lint text for error checking
(Did not touch strings.rs, which is fixed by @llogiq's PR)
|
2015-08-13 08:12:07 +02:00 |
|
Georg Brandl
|
4074c1f968
|
methods: lint against String.to_string (fixes #100)
|
2015-08-12 17:03:13 +02:00 |
|
Georg Brandl
|
2bcc151888
|
new lint for Option.unwrap() and Result.unwrap()
The latter is set to Allow by default (fixes #24)
|
2015-08-11 21:19:11 +02:00 |
|