Commit Graph

1212 Commits

Author SHA1 Message Date
Oliver Schneider
93d097eb12 better simplification 2016-03-29 10:45:18 +02:00
Manish Goregaokar
94f10ee69a Merge pull request #808 from mcarton/copies
Fix false positive in `MATCH_SAME_ARMS` and guards
2016-03-29 08:39:24 +05:30
mcarton
0939f5a2ec Fix false positive in MATCH_SAME_ARMS and guards 2016-03-29 01:39:35 +02:00
llogiq
9cbfa5dbc9 Merge pull request #807 from mcarton/vec
Add `for _ in vec![…]` to the `USELESS_VEC` lint
2016-03-29 00:43:02 +02:00
mcarton
777e810a39 Add for _ in vec![…] to the USELESS_VEC lint 2016-03-28 23:32:55 +02:00
llogiq
11eae72e6f Merge pull request #780 from mcarton/doc
Doc stuff
2016-03-28 22:41:06 +02:00
mcarton
371a5537eb Address nits in DOC_MARKDOWN 2016-03-28 21:24:52 +02:00
mcarton
b1d1f095f1 Improve the DOC_MARKDOWN lint
`_` can be used for emphasize text. `::` is equality as bad outside
ticks.
2016-03-28 21:24:36 +02:00
mcarton
42bf37f49f Add a lint for bad documentation formatting 2016-03-28 21:24:36 +02:00
mcarton
941ec6e4f5 Beautify more docs 2016-03-28 21:24:36 +02:00
mcarton
cfb1bc3723 chmod -x test files 2016-03-28 21:24:36 +02:00
mcarton
7877a42308 Fix some spelling mistakes here and there 2016-03-28 21:24:36 +02:00
llogiq
1c93048bc9 Merge pull request #801 from mcarton/transmute
Lint transmute from ptr to ref
2016-03-28 21:17:42 +02:00
mcarton
e7158dc8f1 s/cx.span_lint/span_lint(cx, / 2016-03-28 18:05:43 +02:00
mcarton
2d5e3f3118 Lint transmute from ptr to ref 2016-03-28 18:05:43 +02:00
Manish Goregaokar
ae24929cd6 Update contributing with new links 2016-03-28 02:00:35 +05:30
Manish Goregaokar
d2eac3add5 Bump to 0.0.58 2016-03-28 01:59:25 +05:30
Manish Goregaokar
204034e8fa Fix ICE 2016-03-28 01:58:57 +05:30
josephDunne
aa819b7748 Update rust-clippy to rustc 1.9.0-nightly (d5a91e695 2016-03-26)
move cfg, infer, traits and ty from middle to top-level
move middle::subst into middle::ty
track the extern-crate def-id rather than path (rustc ab9b844)
2016-03-27 20:24:10 +01:00
Manish Goregaokar
f51293c399 Rm extraneous infcx 2016-03-27 04:57:25 +05:30
Manish Goregaokar
45d41f7d6a Bump 0.0.56 2016-03-27 04:33:27 +05:30
Manish Goregaokar
12f374f788 Merge pull request #803 from Manishearth/fixes
ICE fixes and other things
2016-03-27 04:31:02 +05:30
Manish Goregaokar
fcfda681e5 Stop using ast_ty_to_ty_cache
It's not reliable and gets cleared`
2016-03-27 04:24:55 +05:30
Manish Goregaokar
07dc709ba4 Allow trailing commas in if_let_chain 2016-03-27 04:24:42 +05:30
Manish Goregaokar
f3fdbd0d89 Fix ICE with unknown defids 2016-03-27 02:46:37 +05:30
Manish Goregaokar
3d9a7d9140 Add test for new() -> Self<'static> 2016-03-27 02:46:37 +05:30
Manish Goregaokar
e37ff5a5c7 Fix ICE with relating late bound regions 2016-03-27 02:46:36 +05:30
llogiq
deb0f3120d Merge pull request #797 from cramertj/master
Added crosspointer transmute error and tests
2016-03-25 00:59:47 +01:00
Taylor Cramer
bafffbd624 Ran python lint updater 2016-03-24 16:40:06 -07:00
Taylor Cramer
b07360eb28 Cleanup and added transmute to ugly path list 2016-03-24 16:38:16 -07:00
Manish Goregaokar
cd22a57d0e Merge pull request #796 from TimNN/patch-1
Mention running optional clippy dependency with `cargo rustc`
2016-03-25 04:45:38 +05:30
Taylor Cramer
6adb9cb53f Added crosspointer transmute error and tests 2016-03-24 15:48:38 -07:00
Tim Neumann
e53babef8f Mention running optional clippy dependency with cargo rustc 2016-03-24 23:03:51 +01:00
Manish Goregaokar
7e65493599 Merge pull request #795 from mcarton/deprecated
Deprecates 4 lints
2016-03-25 00:40: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
Martin Carton
4796ea0558 Merge pull request #794 from Keats/master
Update float_cmp message
2016-03-24 18:13:02 +01:00
Vincent Prouillet
341b7d3f6b Update float_cmp message 2016-03-24 17:07:55 +00:00
Martin Carton
68b2f12adf Merge pull request #791 from Jascha-N/fix-fnkind-pattern
Match attributes in FnKind patterns
2016-03-23 16:38:13 +01:00
Jascha
a7f662d8f2 Match attributes in FnKind patterns 2016-03-23 16:11:24 +01:00
Manish Goregaokar
523c596171 Merge pull request #727 from oli-obk/similar_names
lint on binding-names that are too similar
2016-03-21 10:35:36 +05:30
mcarton
e90a95016a Bump to 0.0.55 2016-03-21 01:21:39 +01:00
Andre Bogus
6164eabc3c fixed the build 2016-03-20 21:24:18 +01:00
llogiq
6a39ae2623 Merge pull request #781 from badboy/patch-1
Fix typo in new_without_default docu
2016-03-20 20:44:16 +01:00
Jan-Erik Rediger
7d3e6da3cb Fix typo in new_without_default docu 2016-03-20 20:32:22 +01:00
llogiq
6ce7737d47 Merge pull request #778 from mcarton/fix-new_without_default
Fix `new_without_default` with lts and generics
2016-03-18 21:12:41 +01:00
mcarton
ef72110684 Fix new_without_default with lts and generics 2016-03-18 19:12:32 +01:00
Oliver Schneider
fa739e4a0b update for compiletest update 2016-03-18 14:06:39 +01:00
Oliver Schneider
6a566a1009 use snippet_opt and span_suggestion 2016-03-18 14:06:39 +01:00
Oliver Schneider
9dc282e31d improve needless_bool to catch odd construct in non_expressive_names 2016-03-18 14:06:39 +01:00
Oliver Schneider
ea1c2406cc make single char names threshold configurable 2016-03-18 14:06:39 +01:00