Commit Graph

16143 Commits

Author SHA1 Message Date
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
llogiq
0d651c72ff made macro test even simpler, added a few tests 2015-05-26 01:45:15 +02:00
llogiq
73e3ef6d0e fixed issue #69 2015-05-25 22:50:41 +02:00
llogiq
a67e0f6e2f first prototype of macro expn detection in mut_mut.rs 2015-05-25 07:22:41 +02:00
Alan Jenkins
a133dc4451 Fix copy+paste in description of LEN_ZERO 2015-05-24 19:06:54 +01:00
llogiq
62f0fe0cc0 Merge pull request #66 from Manishearth/refactoring
another refactoring…
2015-05-23 12:43:24 +02:00
llogiq
b51ca1c3db Formatting fixed 2015-05-23 12:32:29 +02:00
llogiq
0ed8e4e968 another refactoring, using more fitting Option methods, improving formatting, etc. 2015-05-23 00:49:13 +02:00
llogiq
450c0fb40c Merge pull request #65 from Manishearth/cmp_owned
check for str type of .to_owned() callee
2015-05-21 16:41:57 +02:00
llogiq
7440b0a111 Merge pull request #64 from Manishearth/refactoring
refactored Option usage and fn argument types, improved formatting
2015-05-21 16:39:30 +02:00
llogiq
4b1c72c949 check for str type of .to_owned() callee 2015-05-21 16:37:38 +02:00
llogiq
6e07acf44e Merge pull request #63 from Manishearth/cmp_owned
new lint: cmp_owned
2015-05-21 16:00:45 +02:00
llogiq
158935a38d refactored Option usage and fn argument types, improved formatting 2015-05-21 15:59:58 +02:00
llogiq
5b1287f017 added description to README 2015-05-21 14:57:20 +02:00