Commit graph

2711 commits

Author SHA1 Message Date
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
llogiq
4292dc77a7 new lint: cmp_owned 2015-05-21 14:51:43 +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
483a546e74 added messages to test error comments 2015-05-20 09:34:02 +02:00
Manish Goregaokar
4a7cd0772e Update .travis.yml 2015-05-20 12:34:45 +05:30
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
Manish Goregaokar
e457500cc7 Merge pull request #33 from ctjhoa/master
Fix and improve README
2015-05-18 16:00:55 +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
Manish Goregaokar
3b82a28ce7 Merge pull request #59 from Manishearth/mut_mut
Mut mut no longer matches ty_ptr, better error messages
2015-05-18 15:50:04 +05:30
llogiq
5556d89f56 removed ty_ptr match 2015-05-18 11:36:56 +02:00
llogiq
b9414637e2 better messages 2015-05-18 10:52:43 +02:00
llogiq
7260be49fc Merge pull request #58 from Manishearth/mut_mut
mut_mut now more robust (thanks to Manishearth, see issue #9)
2015-05-18 10:43:59 +02:00
llogiq
1f8453ab73 mut_mut now more robust (thanks to Manishearth, see issue #9) 2015-05-18 10:41:15 +02:00
llogiq
887c518d07 Merge pull request #57 from Manishearth/mut_mut
New lint: mut_mut
2015-05-18 09:07:03 +02:00
llogiq
96bfade4f1 New lint: mut_mut (closes issue #9) 2015-05-18 09:02:24 +02:00
llogiq
cd62ef3450 Merge pull request #56 from Manishearth/identity_op
new lint: identity_op, refactored bit_masks a bit
2015-05-15 19:16:40 +02:00
llogiq
edf747ab76 new lint: identity_op, refactored bit_masks a bit 2015-05-15 18:46:43 +02:00
llogiq
6f527ea810 Merge pull request #55 from Manishearth/ineffective_bit_mask
Added 'ineffective bit mask' lint
2015-05-15 14:13:34 +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
Manish Goregaokar
709dfe1cea plugin 2015-05-09 15:24:54 +05:30
Manish Goregaokar
5b1cda74c6 Add info 2015-05-09 15:22:22 +05:30
Manish Goregaokar
068e215728 move to compiletest on crates 2015-05-09 15:19:12 +05:30
llogiq
b24433f36d added test for issue #31 2015-05-08 06:01:41 +02:00
Manish Goregaokar
4ea4c292f2 Merge pull request #52 from pythonesque/fix_vec
Fix Box<Vec<T>> test.
2015-05-07 11:23:54 +05:30
Joshua Yanovski
11dea78595 Fix Box<Vec<T>> test. 2015-05-06 22:52:16 -07:00
Manish Goregaokar
0f77b8cb38 Merge pull request #51 from pythonesque/fix-const-lookup
Fix panic during constant lookup.
2015-05-07 10:51:31 +05:30