]>
git.lizzy.rs Git - rust.git/log
Taylor Cramer [Fri, 25 Mar 2016 09:44:45 +0000 (02:44 -0700)]
Updated lints with script
Taylor Cramer [Fri, 25 Mar 2016 09:42:27 +0000 (02:42 -0700)]
Initial attempt at linting invalid upcast comparisons
Manish Goregaokar [Fri, 1 Apr 2016 16:02:41 +0000 (21:32 +0530)]
Merge pull request #826 from Manishearth/patho-bool
Ignore pathological cases in boolean lint
Manish Goregaokar [Fri, 1 Apr 2016 15:58:27 +0000 (21:28 +0530)]
Merge pull request #824 from mcarton/doc
Fix false positive with `DOC_MARKDOWN` and links + rustup
Manish Goregaokar [Fri, 1 Apr 2016 15:55:38 +0000 (21:25 +0530)]
Bump to 0.0.60
Manish Goregaokar [Fri, 1 Apr 2016 15:55:20 +0000 (21:25 +0530)]
Add regression test for #825
Manish Goregaokar [Fri, 1 Apr 2016 15:54:26 +0000 (21:24 +0530)]
Ignore pathological cases in boolean lint (#825)
mcarton [Fri, 1 Apr 2016 15:48:13 +0000 (17:48 +0200)]
Rustup to 1.9.0-nightly (
e1195c24b 2016-03-31)
This does not require a version bump, it only affects tests.
mcarton [Fri, 1 Apr 2016 15:24:55 +0000 (17:24 +0200)]
Fix false positive with `DOC_MARKDOWN` and links
mcarton [Fri, 1 Apr 2016 11:14:39 +0000 (13:14 +0200)]
Improve the `match_same_arms` doc
llogiq [Fri, 1 Apr 2016 08:40:58 +0000 (10:40 +0200)]
Merge pull request #822 from Manishearth/fix-820
fix #820
Andre Bogus [Fri, 1 Apr 2016 08:33:17 +0000 (10:33 +0200)]
fix #820
llogiq [Thu, 31 Mar 2016 18:02:46 +0000 (20:02 +0200)]
Merge pull request #819 from oli-obk/more_whitelisted_names
whitelist more non-expressive-name false positives
Oliver Schneider [Thu, 31 Mar 2016 13:38:43 +0000 (15:38 +0200)]
whitelist more non-expressive-name false positives
Martin Carton [Thu, 31 Mar 2016 15:26:13 +0000 (17:26 +0200)]
Merge pull request #821 from mcarton/rustup
Rustup to 1.9.0-nightly (
30a3849f2 2016-03-30)
mcarton [Thu, 31 Mar 2016 15:07:35 +0000 (17:07 +0200)]
Bump to 0.0.59
mcarton [Thu, 31 Mar 2016 15:05:43 +0000 (17:05 +0200)]
Rustup to 1.9.0-nightly (
30a3849f2 2016-03-30)
llogiq [Wed, 30 Mar 2016 21:21:48 +0000 (23:21 +0200)]
Merge pull request #817 from mcarton/eta
Fix FP in `REDUNDANT_CLOSURE` with divergent functions
mcarton [Wed, 30 Mar 2016 21:07:21 +0000 (23:07 +0200)]
Fix FP in `REDUNDANT_CLOSURE` with divergent functions
Martin Carton [Wed, 30 Mar 2016 15:12:55 +0000 (17:12 +0200)]
Merge pull request #813 from oli-obk/fix/non_expressive_names
Fix/non expressive names
Oliver Schneider [Wed, 30 Mar 2016 15:05:15 +0000 (17:05 +0200)]
better whitelisting of "confusable" binding names
Oliver Schneider [Wed, 30 Mar 2016 14:40:21 +0000 (16:40 +0200)]
don't lint on binding names where only a numeric char changes to another numeric
Oliver Schneider [Wed, 30 Mar 2016 14:39:25 +0000 (16:39 +0200)]
minor code readability improvements
llogiq [Wed, 30 Mar 2016 13:09:49 +0000 (15:09 +0200)]
Merge pull request #790 from oli-obk/bool_opt
optimize booleans
Oliver Schneider [Wed, 30 Mar 2016 10:55:59 +0000 (12:55 +0200)]
make `nonminimal_bool` allow-by-default
Oliver Schneider [Tue, 29 Mar 2016 15:20:30 +0000 (17:20 +0200)]
dogfood
Oliver Schneider [Tue, 29 Mar 2016 15:18:47 +0000 (17:18 +0200)]
`!(a == b)` --> `a != b`
Oliver Schneider [Tue, 29 Mar 2016 14:55:38 +0000 (16:55 +0200)]
added brackets and fixed compiler comments
Oliver Schneider [Tue, 29 Mar 2016 14:27:06 +0000 (16:27 +0200)]
accidentally forgot about improvements if there were multiplie candidates
Manish Goregaokar [Tue, 29 Mar 2016 13:15:58 +0000 (18:45 +0530)]
Add token
Oliver Schneider [Tue, 29 Mar 2016 08:44:35 +0000 (10:44 +0200)]
more tests
Oliver Schneider [Thu, 24 Mar 2016 15:29:20 +0000 (16:29 +0100)]
detect negations of terminals like a != b vs a == b
Oliver Schneider [Thu, 24 Mar 2016 15:11:38 +0000 (16:11 +0100)]
make sure `a < b` and `a >= b` are considered equal by SpanlessEq
Oliver Schneider [Thu, 24 Mar 2016 15:02:26 +0000 (16:02 +0100)]
a small refactoring for readability
Oliver Schneider [Thu, 24 Mar 2016 14:44:08 +0000 (15:44 +0100)]
add tests showing the current level of minimization with ==
Oliver Schneider [Thu, 24 Mar 2016 14:37:17 +0000 (15:37 +0100)]
collect stats on bool ops and negations in an expression
Oliver Schneider [Thu, 24 Mar 2016 14:36:50 +0000 (15:36 +0100)]
String::extend -> String::push_str
Oliver Schneider [Thu, 24 Mar 2016 10:02:28 +0000 (11:02 +0100)]
update lints
Oliver Schneider [Thu, 24 Mar 2016 09:58:57 +0000 (10:58 +0100)]
if a < b { ... } if a >= b { ... } what am I doing?
Oliver Schneider [Thu, 24 Mar 2016 09:54:48 +0000 (10:54 +0100)]
negations around expressions can make things simpler
Oliver Schneider [Thu, 24 Mar 2016 09:45:24 +0000 (10:45 +0100)]
differentiate between logic bugs and optimizable expressions
Oliver Schneider [Thu, 24 Mar 2016 08:37:16 +0000 (09:37 +0100)]
treat macros as terminals to prevent `cfg!` from giving platform specific hints
Oliver Schneider [Thu, 24 Mar 2016 08:36:46 +0000 (09:36 +0100)]
bugfix in quine-mc_cluskey 0.2.1
Oliver Schneider [Wed, 23 Mar 2016 13:50:47 +0000 (14:50 +0100)]
fallout and tests
Oliver Schneider [Wed, 23 Mar 2016 13:50:08 +0000 (14:50 +0100)]
merge multiple equal terminals into one
Oliver Schneider [Wed, 23 Mar 2016 13:45:51 +0000 (14:45 +0100)]
improve lint attribute detail
Oliver Schneider [Wed, 23 Mar 2016 11:52:17 +0000 (12:52 +0100)]
also compute minimal product of sum form
Oliver Schneider [Wed, 23 Mar 2016 11:49:16 +0000 (12:49 +0100)]
improve bracket display
Oliver Schneider [Wed, 23 Mar 2016 11:19:13 +0000 (12:19 +0100)]
better simplification
Benjamin Kampmann [Tue, 29 Mar 2016 08:24:35 +0000 (10:24 +0200)]
Add Post-Success script to build clippy-service
Manish Goregaokar [Tue, 29 Mar 2016 03:09:24 +0000 (08:39 +0530)]
Merge pull request #808 from mcarton/copies
Fix false positive in `MATCH_SAME_ARMS` and guards
mcarton [Mon, 28 Mar 2016 23:39:35 +0000 (01:39 +0200)]
Fix false positive in `MATCH_SAME_ARMS` and guards
llogiq [Mon, 28 Mar 2016 22:43:02 +0000 (00:43 +0200)]
Merge pull request #807 from mcarton/vec
Add `for _ in vec![…]` to the `USELESS_VEC` lint
mcarton [Mon, 28 Mar 2016 21:32:55 +0000 (23:32 +0200)]
Add `for _ in vec![…]` to the `USELESS_VEC` lint
llogiq [Mon, 28 Mar 2016 20:41:06 +0000 (22:41 +0200)]
Merge pull request #780 from mcarton/doc
Doc stuff
mcarton [Mon, 28 Mar 2016 19:23:21 +0000 (21:23 +0200)]
Address nits in DOC_MARKDOWN
mcarton [Mon, 28 Mar 2016 16:00:24 +0000 (18:00 +0200)]
Improve the DOC_MARKDOWN lint
`_` can be used for emphasize text. `::` is equality as bad outside
ticks.
mcarton [Sat, 19 Mar 2016 16:59:12 +0000 (17:59 +0100)]
Add a lint for bad documentation formatting
mcarton [Sat, 19 Mar 2016 16:48:29 +0000 (17:48 +0100)]
Beautify more docs
mcarton [Sat, 19 Mar 2016 14:09:24 +0000 (15:09 +0100)]
`chmod -x` test files
mcarton [Sat, 19 Mar 2016 14:06:56 +0000 (15:06 +0100)]
Fix some spelling mistakes here and there
llogiq [Mon, 28 Mar 2016 19:17:42 +0000 (21:17 +0200)]
Merge pull request #801 from mcarton/transmute
Lint transmute from ptr to ref
mcarton [Sat, 26 Mar 2016 00:49:45 +0000 (01:49 +0100)]
s/cx.span_lint/span_lint(cx, /
mcarton [Fri, 25 Mar 2016 22:22:17 +0000 (23:22 +0100)]
Lint transmute from ptr to ref
Manish Goregaokar [Sun, 27 Mar 2016 20:30:35 +0000 (02:00 +0530)]
Update contributing with new links
Manish Goregaokar [Sun, 27 Mar 2016 20:29:25 +0000 (01:59 +0530)]
Bump to 0.0.58
Manish Goregaokar [Sun, 27 Mar 2016 20:28:57 +0000 (01:58 +0530)]
Fix ICE
josephDunne [Sun, 27 Mar 2016 18:59:02 +0000 (19:59 +0100)]
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 )
Manish Goregaokar [Sat, 26 Mar 2016 23:27:25 +0000 (04:57 +0530)]
Rm extraneous infcx
Manish Goregaokar [Sat, 26 Mar 2016 23:01:02 +0000 (04:31 +0530)]
Bump 0.0.56
Manish Goregaokar [Sat, 26 Mar 2016 23:01:02 +0000 (04:31 +0530)]
Merge pull request #803 from Manishearth/fixes
ICE fixes and other things
Manish Goregaokar [Sat, 26 Mar 2016 22:54:55 +0000 (04:24 +0530)]
Stop using ast_ty_to_ty_cache
It's not reliable and gets cleared`
Manish Goregaokar [Sat, 26 Mar 2016 22:54:42 +0000 (04:24 +0530)]
Allow trailing commas in if_let_chain
Manish Goregaokar [Sat, 26 Mar 2016 21:15:14 +0000 (02:45 +0530)]
Fix ICE with unknown defids
Manish Goregaokar [Sat, 26 Mar 2016 21:14:55 +0000 (02:44 +0530)]
Add test for new() -> Self<'static>
Manish Goregaokar [Sat, 26 Mar 2016 21:14:25 +0000 (02:44 +0530)]
Fix ICE with relating late bound regions
llogiq [Thu, 24 Mar 2016 23:59:47 +0000 (00:59 +0100)]
Merge pull request #797 from cramertj/master
Added crosspointer transmute error and tests
Taylor Cramer [Thu, 24 Mar 2016 23:39:22 +0000 (16:39 -0700)]
Ran python lint updater
Taylor Cramer [Thu, 24 Mar 2016 23:38:16 +0000 (16:38 -0700)]
Cleanup and added transmute to ugly path list
Manish Goregaokar [Thu, 24 Mar 2016 23:15:38 +0000 (04:45 +0530)]
Merge pull request #796 from TimNN/patch-1
Mention running optional clippy dependency with `cargo rustc`
Taylor Cramer [Thu, 24 Mar 2016 22:48:38 +0000 (15:48 -0700)]
Added crosspointer transmute error and tests
Tim Neumann [Thu, 24 Mar 2016 22:03:51 +0000 (23:03 +0100)]
Mention running optional clippy dependency with `cargo rustc`
Manish Goregaokar [Thu, 24 Mar 2016 19:10:37 +0000 (00:40 +0530)]
Merge pull request #795 from mcarton/deprecated
Deprecates 4 lints
mcarton [Thu, 24 Mar 2016 18:25:59 +0000 (19:25 +0100)]
Deprecates 4 lints
Namely STR_TO_STRING, STRING_TO_STRING, UNSTABLE_AS_SLICE and
UNSTABLE_AS_MUT_SLICE.
Martin Carton [Thu, 24 Mar 2016 17:13:02 +0000 (18:13 +0100)]
Merge pull request #794 from Keats/master
Update float_cmp message
Vincent Prouillet [Thu, 24 Mar 2016 17:07:55 +0000 (17:07 +0000)]
Update float_cmp message
Martin Carton [Wed, 23 Mar 2016 15:38:13 +0000 (16:38 +0100)]
Merge pull request #791 from Jascha-N/fix-fnkind-pattern
Match attributes in FnKind patterns
Jascha [Wed, 23 Mar 2016 15:11:24 +0000 (16:11 +0100)]
Match attributes in FnKind patterns
Manish Goregaokar [Mon, 21 Mar 2016 05:05:36 +0000 (10:35 +0530)]
Merge pull request #727 from oli-obk/similar_names
lint on binding-names that are too similar
mcarton [Mon, 21 Mar 2016 00:21:39 +0000 (01:21 +0100)]
Bump to 0.0.55
Andre Bogus [Sun, 20 Mar 2016 20:24:18 +0000 (21:24 +0100)]
fixed the build
llogiq [Sun, 20 Mar 2016 19:44:16 +0000 (20:44 +0100)]
Merge pull request #781 from badboy/patch-1
Fix typo in new_without_default docu
Jan-Erik Rediger [Sun, 20 Mar 2016 19:32:22 +0000 (20:32 +0100)]
Fix typo in new_without_default docu
llogiq [Fri, 18 Mar 2016 20:12:41 +0000 (21:12 +0100)]
Merge pull request #778 from mcarton/fix-new_without_default
Fix `new_without_default` with lts and generics
mcarton [Fri, 18 Mar 2016 18:12:32 +0000 (19:12 +0100)]
Fix `new_without_default` with lts and generics
Oliver Schneider [Thu, 17 Mar 2016 12:04:33 +0000 (13:04 +0100)]
update for compiletest update
Oliver Schneider [Mon, 14 Mar 2016 16:13:10 +0000 (17:13 +0100)]
use snippet_opt and span_suggestion
Oliver Schneider [Mon, 14 Mar 2016 15:41:41 +0000 (16:41 +0100)]
improve needless_bool to catch odd construct in non_expressive_names
Oliver Schneider [Mon, 14 Mar 2016 13:56:44 +0000 (14:56 +0100)]
make single char names threshold configurable
Oliver Schneider [Mon, 14 Mar 2016 13:34:47 +0000 (14:34 +0100)]
refactor for speed