Commit graph

8406 commits

Author SHA1 Message Date
llogiq
27f8fa75e1 whitespace 2015-08-07 09:33:54 +02:00
llogiq
b393752814 New string_add_assign lint (first part of #121), also formatting & refactoring 2015-08-05 15:10:45 +02:00
Manish Goregaokar
6ebb9b1551 Fix crash with idents from different contexts 2015-08-02 20:59:12 +05:30
Manish Goregaokar
de5ccdfab6 Upgrade to rustc 1.3.0-nightly (4d52d7c85 2015-07-30) 2015-07-31 12:00:06 +05:30
Manish Goregaokar
0e8e8cfc9b Basic framework for structured logging 2015-07-27 00:39:09 +05:30
Manish Goregaokar
ac698826d7 Merge pull request #117 from Manishearth/rustup
rustup, also first time clippy was used on itself, which led to a sma…
2015-07-17 00:10:15 +05:30
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
Manish Goregaokar
ad3d36dc72 bump to 0.0.6 2015-07-10 20:22:15 +05:30
llogiq
850a12a30b Merge pull request #108 from Manishearth/refactoring
new 'snippet' utils method, used where applicable
2015-07-09 17:23:59 +02:00
llogiq
a244750939 new 'snippet' utils method, used where applicable 2015-07-09 17:02:21 +02:00
Manish Goregaokar
60ee6a4c06 Merge pull request #106 from zmbush/nightly
Fix build for rustc 1.3.0-nightly (bf3c979ec 2015-06-30)
2015-07-01 22:02:01 +05:30
Zachary Bush
038d540ab1 Fix build for rustc 1.3.0-nightly (bf3c979ec 2015-06-30) 2015-07-01 09:21:46 -07:00
llogiq
a92b063727 Merge pull request #102 from zmbush/master
Fix build with rustc 1.2.0-nightly (20d23d8e5 2015-06-18)
2015-06-19 05:56:43 +02:00
Zachary Bush
0ffbdf2f8a Fix build with rustc 1.2.0-nightly (20d23d8e5 2015-06-18)
In https://github.com/rust-lang/rust/pull/26347, MacroFormat was
renamed to ExpnFormat. MacroFormat wasn't being used in
src/mut_mut.rs, so I removed it.
2015-06-18 15:30:51 -07:00
llogiq
2fb55deb8e Merge pull request #101 from ogham/patch-1
Remove redundant 'redundant_closure' description
2015-06-17 22:09:48 +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
418ed3b601 Merge pull request #99 from Manishearth/rustup
fixed renaming of rustc::middle::ty enums
2015-06-15 13:30:29 +02:00
llogiq
9a3dcaabe8 fixed renaming of rustc::middle::ty enums 2015-06-15 13:27:24 +02:00
Manish Goregaokar
be8cb319d8 bump crates 2015-06-13 22:36:06 +05:30
llogiq
9de0e25f29 Merge pull request #94 from Manishearth/unicode
first unicode lint: zero_width_space
2015-06-11 17:10:20 +02:00
llogiq
0e5b62c8d8 also included String::from in cmp_owned and fixed deprecation in test 2015-06-11 16:53:23 +02:00
llogiq
23caf3cccc first unicode lint: zero_width_space 2015-06-11 11:35:00 +02:00
llogiq
ad8841c20b Merge pull request #92 from Manishearth/inline_always
Remove false positives on inline_always. this closes issue #84 and adds a few utils
2015-06-07 12:11:14 +02:00
llogiq
19e718966d forgot to update utils, there are a few new s 2015-06-07 12:05:14 +02:00
llogiq
1f74c4b359 removed false positives from inline_always (issue #84) 2015-06-07 12:03:56 +02:00
llogiq
e81a7ee3ca Merge pull request #91 from michaelrutherford/master
Fixed spelling error
2015-06-06 20:42:11 +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
llogiq
5874466646 Merge pull request #90 from Manishearth/bit_mask
fixed issue #88 in bit_mask
2015-06-06 02:32:37 +02:00
llogiq
8563ee60ec fixed issue #88 in bit_mask 2015-06-06 02:27:48 +02:00
llogiq
cfcf5ac8e5 Merge pull request #89 from Manishearth/test_extension
extended compile-test.rs to actually observe TESTNAME ...
2015-06-06 02:22:26 +02:00
llogiq
b44435ef28 extended compile-test.rs to actually observe TESTNAME environment variable and filter tests if available 2015-06-06 02:07:48 +02: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
3557d62ee9 Merge pull request #82 from Manishearth/collapsible_if
Fixed block check, also added macro test to collapsible_if and …
2015-06-01 22:52:16 +02:00
llogiq
e8ca19da24 fixed modules/visibility 2015-06-01 22:36:56 +02:00
llogiq
30de91d3e9 moved in_macro to (new) utils.rs 2015-06-01 22:30:34 +02:00
llogiq
1ee2e4ffe8 Fixed block check, also added macro test to collapsible_if and inline_always 2015-06-01 15:09:17 +02:00
llogiq
9aec247ff3 Merge pull request #81 from Manishearth/len_zero
Len zero extended with check for is_empty() (so we should no longer get false positives).
2015-06-01 14:09:20 +02:00
llogiq
7f5891184d merged upstream master 2015-06-01 13:55:55 +02:00
llogiq
cdca2c93c1 now the method lookup actually works (and I understand why! 😄), reduces unnecessary loops, and has a few comments 2015-06-01 12:49:36 +02:00
llogiq
c5dfcaeeaf Merge branch 'master' into len_zero 2015-06-01 07:52:22 +02:00
llogiq
4c76465154 Merge pull request #68 from Manishearth/macro_expn
macro expn detection in mut_mut.rs
2015-06-01 07:44:27 +02:00
llogiq
21cd0c7e70 check for is_empty() method to get rid of false positives 2015-06-01 07:40:33 +02:00
Matthew Hall
423a9666ca Implements #45 - any number mod 1 will be 0 2015-05-31 13:43:31 +01:00
llogiq
77838d6ba7 New lint for issue
#72
2015-05-30 15:10:19 +02:00
Manish Goregaokar
b99fab8162 Merge pull request #76 from mattyhall/master
Add lint for ifs that could be collapsed
2015-05-29 20:29:08 +05:30
Matthew Hall
7e16822925 Add lint for ifs that could be collapsed
"Collapsible" ifs are ones which contain only a then block, and the then
block consists of an if that only has a then block.
2015-05-29 15:41:25 +01:00
llogiq
cd2e621c60 made in_macro distinguish intra-crate and extra-crate macros, as the latter have no working source (note: may fail in the face of compiler plugins doing whatever they like with spans), also one more run-pass test 2015-05-26 13:52:40 +02:00
Manish Goregaokar
eb421ca202 Merge pull request #71 from sourcejedi/patch-1
Fix copy+paste in description of LEN_ZERO
2015-05-26 16:02:04 +05:30
llogiq
fee230c07e Merge pull request #70 from Manishearth/issue_69
Issue #69 fixed
2015-05-26 01:46:30 +02:00