]> git.lizzy.rs Git - rust.git/log
rust.git
8 years agoUpdated lints with script
Taylor Cramer [Fri, 25 Mar 2016 09:44:45 +0000 (02:44 -0700)]
Updated lints with script

8 years agoInitial attempt at linting invalid upcast comparisons
Taylor Cramer [Fri, 25 Mar 2016 09:42:27 +0000 (02:42 -0700)]
Initial attempt at linting invalid upcast comparisons

8 years agoMerge pull request #826 from Manishearth/patho-bool
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

8 years agoMerge pull request #824 from mcarton/doc
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

8 years agoBump to 0.0.60
Manish Goregaokar [Fri, 1 Apr 2016 15:55:38 +0000 (21:25 +0530)]
Bump to 0.0.60

8 years agoAdd regression test for #825
Manish Goregaokar [Fri, 1 Apr 2016 15:55:20 +0000 (21:25 +0530)]
Add regression test for #825

8 years agoIgnore pathological cases in boolean lint (#825)
Manish Goregaokar [Fri, 1 Apr 2016 15:54:26 +0000 (21:24 +0530)]
Ignore pathological cases  in boolean lint (#825)

8 years agoRustup to 1.9.0-nightly (e1195c24b 2016-03-31)
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.

8 years agoFix false positive with `DOC_MARKDOWN` and links
mcarton [Fri, 1 Apr 2016 15:24:55 +0000 (17:24 +0200)]
Fix false positive with `DOC_MARKDOWN` and links

8 years agoImprove the `match_same_arms` doc
mcarton [Fri, 1 Apr 2016 11:14:39 +0000 (13:14 +0200)]
Improve the `match_same_arms` doc

8 years agoMerge pull request #822 from Manishearth/fix-820
llogiq [Fri, 1 Apr 2016 08:40:58 +0000 (10:40 +0200)]
Merge pull request #822 from Manishearth/fix-820

fix #820

8 years agofix #820
Andre Bogus [Fri, 1 Apr 2016 08:33:17 +0000 (10:33 +0200)]
fix #820

8 years agoMerge pull request #819 from oli-obk/more_whitelisted_names
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

8 years agowhitelist 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

8 years agoMerge pull request #821 from mcarton/rustup
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)

8 years agoBump to 0.0.59
mcarton [Thu, 31 Mar 2016 15:07:35 +0000 (17:07 +0200)]
Bump to 0.0.59

8 years agoRustup to 1.9.0-nightly (30a3849f2 2016-03-30)
mcarton [Thu, 31 Mar 2016 15:05:43 +0000 (17:05 +0200)]
Rustup to 1.9.0-nightly (30a3849f2 2016-03-30)

8 years agoMerge pull request #817 from mcarton/eta
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

8 years agoFix 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

8 years agoMerge pull request #813 from oli-obk/fix/non_expressive_names
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

8 years agobetter whitelisting of "confusable" binding names
Oliver Schneider [Wed, 30 Mar 2016 15:05:15 +0000 (17:05 +0200)]
better whitelisting of "confusable" binding names

8 years agodon't lint on binding names where only a numeric char changes to another numeric
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

8 years agominor code readability improvements
Oliver Schneider [Wed, 30 Mar 2016 14:39:25 +0000 (16:39 +0200)]
minor code readability improvements

8 years agoMerge pull request #790 from oli-obk/bool_opt
llogiq [Wed, 30 Mar 2016 13:09:49 +0000 (15:09 +0200)]
Merge pull request #790 from oli-obk/bool_opt

optimize booleans

8 years agomake `nonminimal_bool` allow-by-default
Oliver Schneider [Wed, 30 Mar 2016 10:55:59 +0000 (12:55 +0200)]
make `nonminimal_bool` allow-by-default

8 years agodogfood
Oliver Schneider [Tue, 29 Mar 2016 15:20:30 +0000 (17:20 +0200)]
dogfood

8 years ago`!(a == b)` --> `a != b`
Oliver Schneider [Tue, 29 Mar 2016 15:18:47 +0000 (17:18 +0200)]
`!(a == b)` --> `a != b`

8 years agoadded brackets and fixed compiler comments
Oliver Schneider [Tue, 29 Mar 2016 14:55:38 +0000 (16:55 +0200)]
added brackets and fixed compiler comments

8 years agoaccidentally forgot about improvements if there were multiplie candidates
Oliver Schneider [Tue, 29 Mar 2016 14:27:06 +0000 (16:27 +0200)]
accidentally forgot about improvements if there were multiplie candidates

8 years agoAdd token
Manish Goregaokar [Tue, 29 Mar 2016 13:15:58 +0000 (18:45 +0530)]
Add token

8 years agomore tests
Oliver Schneider [Tue, 29 Mar 2016 08:44:35 +0000 (10:44 +0200)]
more tests

8 years agodetect negations of terminals like a != b vs a == b
Oliver Schneider [Thu, 24 Mar 2016 15:29:20 +0000 (16:29 +0100)]
detect negations of terminals like a != b vs a == b

8 years agomake sure `a < b` and `a >= b` are considered equal by SpanlessEq
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

8 years agoa small refactoring for readability
Oliver Schneider [Thu, 24 Mar 2016 15:02:26 +0000 (16:02 +0100)]
a small refactoring for readability

8 years agoadd tests showing the current level of minimization with ==
Oliver Schneider [Thu, 24 Mar 2016 14:44:08 +0000 (15:44 +0100)]
add tests showing the current level of minimization with ==

8 years agocollect stats on bool ops and negations in an expression
Oliver Schneider [Thu, 24 Mar 2016 14:37:17 +0000 (15:37 +0100)]
collect stats on bool ops and negations in an expression

8 years agoString::extend -> String::push_str
Oliver Schneider [Thu, 24 Mar 2016 14:36:50 +0000 (15:36 +0100)]
String::extend -> String::push_str

8 years agoupdate lints
Oliver Schneider [Thu, 24 Mar 2016 10:02:28 +0000 (11:02 +0100)]
update lints

8 years agoif a < b { ... } if a >= b { ... } what am I doing?
Oliver Schneider [Thu, 24 Mar 2016 09:58:57 +0000 (10:58 +0100)]
if a < b { ... } if a >= b { ... } what am I doing?

8 years agonegations around expressions can make things simpler
Oliver Schneider [Thu, 24 Mar 2016 09:54:48 +0000 (10:54 +0100)]
negations around expressions can make things simpler

8 years agodifferentiate between logic bugs and optimizable expressions
Oliver Schneider [Thu, 24 Mar 2016 09:45:24 +0000 (10:45 +0100)]
differentiate between logic bugs and optimizable expressions

8 years agotreat macros as terminals to prevent `cfg!` from giving platform specific hints
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

8 years agobugfix in quine-mc_cluskey 0.2.1
Oliver Schneider [Thu, 24 Mar 2016 08:36:46 +0000 (09:36 +0100)]
bugfix in quine-mc_cluskey 0.2.1

8 years agofallout and tests
Oliver Schneider [Wed, 23 Mar 2016 13:50:47 +0000 (14:50 +0100)]
fallout and tests

8 years agomerge multiple equal terminals into one
Oliver Schneider [Wed, 23 Mar 2016 13:50:08 +0000 (14:50 +0100)]
merge multiple equal terminals into one

8 years agoimprove lint attribute detail
Oliver Schneider [Wed, 23 Mar 2016 13:45:51 +0000 (14:45 +0100)]
improve lint attribute detail

8 years agoalso compute minimal product of sum form
Oliver Schneider [Wed, 23 Mar 2016 11:52:17 +0000 (12:52 +0100)]
also compute minimal product of sum form

8 years agoimprove bracket display
Oliver Schneider [Wed, 23 Mar 2016 11:49:16 +0000 (12:49 +0100)]
improve bracket display

8 years agobetter simplification
Oliver Schneider [Wed, 23 Mar 2016 11:19:13 +0000 (12:19 +0100)]
better simplification

8 years agoAdd Post-Success script to build clippy-service
Benjamin Kampmann [Tue, 29 Mar 2016 08:24:35 +0000 (10:24 +0200)]
Add Post-Success script to build clippy-service

8 years agoMerge pull request #808 from mcarton/copies
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

8 years agoFix 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

8 years agoMerge pull request #807 from mcarton/vec
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

8 years agoAdd `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

8 years agoMerge pull request #780 from mcarton/doc
llogiq [Mon, 28 Mar 2016 20:41:06 +0000 (22:41 +0200)]
Merge pull request #780 from mcarton/doc

Doc stuff

8 years agoAddress nits in DOC_MARKDOWN
mcarton [Mon, 28 Mar 2016 19:23:21 +0000 (21:23 +0200)]
Address nits in DOC_MARKDOWN

8 years agoImprove the DOC_MARKDOWN lint
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.

8 years agoAdd a lint for bad documentation formatting
mcarton [Sat, 19 Mar 2016 16:59:12 +0000 (17:59 +0100)]
Add a lint for bad documentation formatting

8 years agoBeautify more docs
mcarton [Sat, 19 Mar 2016 16:48:29 +0000 (17:48 +0100)]
Beautify more docs

8 years ago`chmod -x` test files
mcarton [Sat, 19 Mar 2016 14:09:24 +0000 (15:09 +0100)]
`chmod -x` test files

8 years agoFix some spelling mistakes here and there
mcarton [Sat, 19 Mar 2016 14:06:56 +0000 (15:06 +0100)]
Fix some spelling mistakes here and there

8 years agoMerge pull request #801 from mcarton/transmute
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

8 years agos/cx.span_lint/span_lint(cx, /
mcarton [Sat, 26 Mar 2016 00:49:45 +0000 (01:49 +0100)]
s/cx.span_lint/span_lint(cx, /

8 years agoLint transmute from ptr to ref
mcarton [Fri, 25 Mar 2016 22:22:17 +0000 (23:22 +0100)]
Lint transmute from ptr to ref

8 years agoUpdate contributing with new links
Manish Goregaokar [Sun, 27 Mar 2016 20:30:35 +0000 (02:00 +0530)]
Update contributing with new links

8 years agoBump to 0.0.58
Manish Goregaokar [Sun, 27 Mar 2016 20:29:25 +0000 (01:59 +0530)]
Bump to 0.0.58

8 years agoFix ICE
Manish Goregaokar [Sun, 27 Mar 2016 20:28:57 +0000 (01:58 +0530)]
Fix ICE

8 years agoUpdate rust-clippy to rustc 1.9.0-nightly (d5a91e695 2016-03-26)
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)

8 years agoRm extraneous infcx
Manish Goregaokar [Sat, 26 Mar 2016 23:27:25 +0000 (04:57 +0530)]
Rm extraneous infcx

8 years agoBump 0.0.56
Manish Goregaokar [Sat, 26 Mar 2016 23:01:02 +0000 (04:31 +0530)]
Bump 0.0.56

8 years agoMerge pull request #803 from Manishearth/fixes
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

8 years agoStop using ast_ty_to_ty_cache
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`

8 years agoAllow trailing commas in if_let_chain
Manish Goregaokar [Sat, 26 Mar 2016 22:54:42 +0000 (04:24 +0530)]
Allow trailing commas in if_let_chain

8 years agoFix ICE with unknown defids
Manish Goregaokar [Sat, 26 Mar 2016 21:15:14 +0000 (02:45 +0530)]
Fix ICE with unknown defids

8 years agoAdd test for new() -> Self<'static>
Manish Goregaokar [Sat, 26 Mar 2016 21:14:55 +0000 (02:44 +0530)]
Add test for new() -> Self<'static>

8 years agoFix ICE with relating late bound regions
Manish Goregaokar [Sat, 26 Mar 2016 21:14:25 +0000 (02:44 +0530)]
Fix ICE with relating late bound regions

8 years agoMerge pull request #797 from cramertj/master
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

8 years agoRan python lint updater
Taylor Cramer [Thu, 24 Mar 2016 23:39:22 +0000 (16:39 -0700)]
Ran python lint updater

8 years agoCleanup and added transmute to ugly path list
Taylor Cramer [Thu, 24 Mar 2016 23:38:16 +0000 (16:38 -0700)]
Cleanup and added transmute to ugly path list

8 years agoMerge pull request #796 from TimNN/patch-1
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`

8 years agoAdded crosspointer transmute error and tests
Taylor Cramer [Thu, 24 Mar 2016 22:48:38 +0000 (15:48 -0700)]
Added crosspointer transmute error and tests

8 years agoMention running optional clippy dependency with `cargo rustc`
Tim Neumann [Thu, 24 Mar 2016 22:03:51 +0000 (23:03 +0100)]
Mention running optional clippy dependency with `cargo rustc`

8 years agoMerge pull request #795 from mcarton/deprecated
Manish Goregaokar [Thu, 24 Mar 2016 19:10:37 +0000 (00:40 +0530)]
Merge pull request #795 from mcarton/deprecated

Deprecates 4 lints

8 years agoDeprecates 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.

8 years agoMerge pull request #794 from Keats/master
Martin Carton [Thu, 24 Mar 2016 17:13:02 +0000 (18:13 +0100)]
Merge pull request #794 from Keats/master

Update float_cmp message

8 years agoUpdate float_cmp message
Vincent Prouillet [Thu, 24 Mar 2016 17:07:55 +0000 (17:07 +0000)]
Update float_cmp message

8 years agoMerge pull request #791 from Jascha-N/fix-fnkind-pattern
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

8 years agoMatch attributes in FnKind patterns
Jascha [Wed, 23 Mar 2016 15:11:24 +0000 (16:11 +0100)]
Match attributes in FnKind patterns

8 years agoMerge pull request #727 from oli-obk/similar_names
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

8 years agoBump to 0.0.55
mcarton [Mon, 21 Mar 2016 00:21:39 +0000 (01:21 +0100)]
Bump to 0.0.55

8 years agofixed the build
Andre Bogus [Sun, 20 Mar 2016 20:24:18 +0000 (21:24 +0100)]
fixed the build

8 years agoMerge pull request #781 from badboy/patch-1
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

8 years agoFix 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

8 years agoMerge pull request #778 from mcarton/fix-new_without_default
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

8 years agoFix `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

8 years agoupdate for compiletest update
Oliver Schneider [Thu, 17 Mar 2016 12:04:33 +0000 (13:04 +0100)]
update for compiletest update

8 years agouse snippet_opt and span_suggestion
Oliver Schneider [Mon, 14 Mar 2016 16:13:10 +0000 (17:13 +0100)]
use snippet_opt and span_suggestion

8 years agoimprove needless_bool to catch odd construct in non_expressive_names
Oliver Schneider [Mon, 14 Mar 2016 15:41:41 +0000 (16:41 +0100)]
improve needless_bool to catch odd construct in non_expressive_names

8 years agomake single char names threshold configurable
Oliver Schneider [Mon, 14 Mar 2016 13:56:44 +0000 (14:56 +0100)]
make single char names threshold configurable

8 years agorefactor for speed
Oliver Schneider [Mon, 14 Mar 2016 13:34:47 +0000 (14:34 +0100)]
refactor for speed