]> git.lizzy.rs Git - rust.git/log
rust.git
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

8 years agofix and rebase
Oliver Schneider [Mon, 14 Mar 2016 09:18:09 +0000 (10:18 +0100)]
fix and rebase

8 years agorefactoring and bugfix
Oliver Schneider [Tue, 8 Mar 2016 13:36:21 +0000 (14:36 +0100)]
refactoring and bugfix

8 years agolint on too many single character bindings
Oliver Schneider [Tue, 1 Mar 2016 12:05:39 +0000 (13:05 +0100)]
lint on too many single character bindings

8 years agosuggest inserting underscores for simple cases
Oliver Schneider [Tue, 1 Mar 2016 09:34:45 +0000 (10:34 +0100)]
suggest inserting underscores for simple cases

8 years agolint on binding-names that are too similar
Oliver Schneider [Tue, 1 Mar 2016 09:13:54 +0000 (10:13 +0100)]
lint on binding-names that are too similar

8 years agoMerge pull request #772 from oli-obk/const_int
Martin Carton [Thu, 17 Mar 2016 12:57:09 +0000 (13:57 +0100)]
Merge pull request #772 from oli-obk/const_int

refactor clippy-consts to use ConstInt

8 years agofix `Eq`+`Hash` for `Constant`
Oliver Schneider [Wed, 16 Mar 2016 15:28:31 +0000 (16:28 +0100)]
fix `Eq`+`Hash` for `Constant`

8 years agorefactor clippy-consts to use ConstInt
Oliver Schneider [Wed, 16 Mar 2016 11:38:26 +0000 (12:38 +0100)]
refactor clippy-consts to use ConstInt

8 years agoMerge pull request #773 from mcarton/rustup
Martin Carton [Wed, 16 Mar 2016 19:05:38 +0000 (20:05 +0100)]
Merge pull request #773 from mcarton/rustup

Rustup to *1.9.0-nightly (c66d2380a 2016-03-15)*

8 years agoBump to 0.0.54
mcarton [Wed, 16 Mar 2016 15:57:38 +0000 (16:57 +0100)]
Bump to 0.0.54

8 years agoTemporary fix for rustc warning false-positive?
mcarton [Wed, 16 Mar 2016 18:26:14 +0000 (19:26 +0100)]
Temporary fix for rustc warning false-positive?

8 years agoRustup to *1.9.0-nightly (c66d2380a 2016-03-15)*
mcarton [Wed, 16 Mar 2016 15:57:11 +0000 (16:57 +0100)]
Rustup to *1.9.0-nightly (c66d2380a 2016-03-15)*

8 years agoMerge pull request #767 from mcarton/fix-ice
Manish Goregaokar [Tue, 15 Mar 2016 20:23:12 +0000 (01:53 +0530)]
Merge pull request #767 from mcarton/fix-ice

Fix #765 & #763 & #768

8 years agoFix `conf.rs` path in `update_wiki`
mcarton [Tue, 15 Mar 2016 20:17:26 +0000 (21:17 +0100)]
Fix `conf.rs` path in `update_wiki`

8 years agoFix problem in PANIC_PARAMS with inner `format!`
mcarton [Tue, 15 Mar 2016 20:02:08 +0000 (21:02 +0100)]
Fix problem in PANIC_PARAMS with inner `format!`

8 years agoUse `span_suggestion` in `STRING_LIT_AS_BYTES`
mcarton [Mon, 14 Mar 2016 21:03:30 +0000 (22:03 +0100)]
Use `span_suggestion` in `STRING_LIT_AS_BYTES`

8 years agoFix false positive with STRING_LIT_AS_BYTES and stringify!
mcarton [Mon, 14 Mar 2016 21:00:01 +0000 (22:00 +0100)]
Fix false positive with STRING_LIT_AS_BYTES and stringify!

8 years agoFix ICE in `OUT_OF_BOUNDS_INDEXING` with ranges
mcarton [Mon, 14 Mar 2016 20:48:24 +0000 (21:48 +0100)]
Fix ICE in `OUT_OF_BOUNDS_INDEXING` with ranges

8 years agoBump to 0.0.53
mcarton [Tue, 15 Mar 2016 19:26:01 +0000 (20:26 +0100)]
Bump to 0.0.53

8 years agoMerge pull request #769 from oli-obk/rustup
Martin Carton [Tue, 15 Mar 2016 19:21:59 +0000 (20:21 +0100)]
Merge pull request #769 from oli-obk/rustup

Rustup to rustc 1.9.0-nightly (6d215fe04 2016-03-14)

8 years agorustup const eval changes
Oliver 'ker' Schneider [Tue, 15 Mar 2016 19:09:53 +0000 (20:09 +0100)]
rustup const eval changes

8 years agoUpdate to rustc 1.9.0-nightly (6d215fe04 2016-03-14)
Manish Goregaokar [Tue, 15 Mar 2016 15:33:08 +0000 (21:03 +0530)]
Update to rustc 1.9.0-nightly (6d215fe04 2016-03-14)

8 years agoRust upgrade to rustc 1.9.0-nightly (74b886ab1 2016-03-13), update compiletest
Manish Goregaokar [Tue, 15 Mar 2016 09:11:56 +0000 (14:41 +0530)]
Rust upgrade to rustc 1.9.0-nightly (74b886ab1 2016-03-13), update compiletest

8 years agoMerge pull request #764 from oli-obk/fix/cc/multi_diverge
Martin Carton [Mon, 14 Mar 2016 16:32:22 +0000 (17:32 +0100)]
Merge pull request #764 from oli-obk/fix/cc/multi_diverge

prevent cc lint from panicking on unreachable code

8 years agoprevent cc lint from panicking on unreachable code
Oliver Schneider [Mon, 14 Mar 2016 16:24:55 +0000 (17:24 +0100)]
prevent cc lint from panicking on unreachable code

8 years agoMerge pull request #698 from mcarton/conf
Manish Goregaokar [Sun, 13 Mar 2016 14:03:03 +0000 (19:33 +0530)]
Merge pull request #698 from mcarton/conf

Add a configuration file and a POC `BLACKLISTED_NAME` lint

8 years agoBump to 0.0.51
mcarton [Sun, 13 Mar 2016 00:30:20 +0000 (01:30 +0100)]
Bump to 0.0.51

It fixes a false positive in mustache.

8 years agoMerge pull request #760 from mcarton/small-fix
llogiq [Sat, 12 Mar 2016 21:36:45 +0000 (22:36 +0100)]
Merge pull request #760 from mcarton/small-fix

Small fix × 2

8 years agoFix false-positive in `panic_params`
mcarton [Sat, 12 Mar 2016 20:23:01 +0000 (21:23 +0100)]
Fix false-positive in `panic_params`

It might still have false positives, but it’s even less likely.

8 years agoAdd `str` to types considered by `len_zero`
mcarton [Sat, 12 Mar 2016 20:12:35 +0000 (21:12 +0100)]
Add `str` to types considered by `len_zero`

8 years agoDogfood
mcarton [Sat, 12 Mar 2016 20:23:35 +0000 (21:23 +0100)]
Dogfood

8 years agos/Clippy.toml/clippy.toml
mcarton [Wed, 9 Mar 2016 10:48:55 +0000 (11:48 +0100)]
s/Clippy.toml/clippy.toml

8 years agoLint function with too many arguments
mcarton [Tue, 8 Mar 2016 23:48:10 +0000 (00:48 +0100)]
Lint function with too many arguments

8 years agoDon’t make conf errors fatal errors
mcarton [Sun, 6 Mar 2016 14:48:56 +0000 (15:48 +0100)]
Don’t make conf errors fatal errors

8 years agomv src/conf.rs src/utils
mcarton [Sun, 6 Mar 2016 14:17:51 +0000 (15:17 +0100)]
mv src/conf.rs src/utils

8 years agoWhite-list `third-party` in conf files
mcarton [Sun, 6 Mar 2016 13:40:25 +0000 (14:40 +0100)]
White-list `third-party` in conf files

8 years agoRustfmt
mcarton [Mon, 29 Feb 2016 16:48:20 +0000 (17:48 +0100)]
Rustfmt

8 years agoDocument the configuration file
mcarton [Mon, 22 Feb 2016 14:50:40 +0000 (15:50 +0100)]
Document the configuration file

8 years agoAdd a `BLACKLISTED_NAME` lint
mcarton [Mon, 22 Feb 2016 14:42:24 +0000 (15:42 +0100)]
Add a `BLACKLISTED_NAME` lint

8 years agoAdd configuration variables to wiki
mcarton [Mon, 22 Feb 2016 13:25:51 +0000 (14:25 +0100)]
Add configuration variables to wiki

8 years agoUse configuration in the `TYPE_COMPLEXITY` lint
mcarton [Sun, 21 Feb 2016 20:01:30 +0000 (21:01 +0100)]
Use configuration in the `TYPE_COMPLEXITY` lint

8 years agoStart implementing a configuration file
mcarton [Sun, 21 Feb 2016 19:11:32 +0000 (20:11 +0100)]
Start implementing a configuration file

8 years agoMerge branch 'aochagavia-indexing_slicing'
mcarton [Fri, 11 Mar 2016 21:14:43 +0000 (22:14 +0100)]
Merge branch 'aochagavia-indexing_slicing'

8 years agoSmall nits on INDEXING_SLICING
mcarton [Fri, 11 Mar 2016 21:10:40 +0000 (22:10 +0100)]
Small nits on INDEXING_SLICING

8 years agoLint against indexing and slicing
Adolfo Ochagavía [Fri, 11 Mar 2016 09:51:16 +0000 (10:51 +0100)]
Lint against indexing and slicing

This can be useful to prevent panics in a codebase. ATM it is a pedantic
lint, but in the future it should be added to the restricions group.

8 years agoMerge pull request #757 from mcarton/fix-ranges
Martin Carton [Fri, 11 Mar 2016 19:31:20 +0000 (20:31 +0100)]
Merge pull request #757 from mcarton/fix-ranges

Fix `unsugar_range` with `..`

8 years agoFix `unsugar_range` with `..`
mcarton [Fri, 11 Mar 2016 19:27:33 +0000 (20:27 +0100)]
Fix `unsugar_range` with `..`

8 years agoFix punctuation in README
mcarton [Fri, 11 Mar 2016 12:19:51 +0000 (13:19 +0100)]
Fix punctuation in README

8 years agoMerge pull request #754 from mcarton/rustup
Martin Carton [Fri, 11 Mar 2016 13:23:45 +0000 (14:23 +0100)]
Merge pull request #754 from mcarton/rustup

Rustup to 1.9.0-nightly (c9629d61c 2016-03-10)

8 years agoBump to 0.0.50
mcarton [Fri, 11 Mar 2016 13:19:28 +0000 (14:19 +0100)]
Bump to 0.0.50

8 years agoRustup to 1.9.0-nightly (c9629d61c 2016-03-10)
mcarton [Thu, 10 Mar 2016 17:13:49 +0000 (18:13 +0100)]
Rustup to 1.9.0-nightly (c9629d61c 2016-03-10)

8 years agoMerge pull request #742 from ctjhoa/master
Manish Goregaokar [Fri, 11 Mar 2016 03:11:53 +0000 (08:41 +0530)]
Merge pull request #742 from ctjhoa/master

Add clippy linting service badge

8 years agoAdd link with clippy service
Camille TJHOA [Thu, 10 Mar 2016 20:42:24 +0000 (21:42 +0100)]
Add link with clippy service

8 years agoMerge pull request #752 from mcarton/rustup
Martin Carton [Wed, 9 Mar 2016 20:14:51 +0000 (21:14 +0100)]
Merge pull request #752 from mcarton/rustup

Rustup to rustc 1.9.0-nightly (eabfc160f 2016-03-08)

8 years agoBump to 0.0.49
mcarton [Wed, 9 Mar 2016 15:22:53 +0000 (16:22 +0100)]
Bump to 0.0.49

8 years agoImprove the MATCH_REF_PATS suggestions
mcarton [Wed, 9 Mar 2016 15:22:31 +0000 (16:22 +0100)]
Improve the MATCH_REF_PATS suggestions

8 years agoHandle the new TryDesugar variant
mcarton [Wed, 9 Mar 2016 15:10:24 +0000 (16:10 +0100)]
Handle the new TryDesugar variant

8 years agoMerge pull request #730 from mcarton/unused-labels
Manish Goregaokar [Wed, 9 Mar 2016 05:56:44 +0000 (11:26 +0530)]
Merge pull request #730 from mcarton/unused-labels

Lint unused labels and types with `fn new() -> Self` and no `Default` impl

8 years agoFix types comparison
mcarton [Thu, 3 Mar 2016 18:46:10 +0000 (19:46 +0100)]
Fix types comparison

8 years agoRemove uses of `ast_ty_to_ty_cache`
mcarton [Tue, 1 Mar 2016 19:38:21 +0000 (20:38 +0100)]
Remove uses of `ast_ty_to_ty_cache`

8 years agoLint types with `fn new() -> Self` and no `Default` impl
mcarton [Tue, 1 Mar 2016 15:25:15 +0000 (16:25 +0100)]
Lint types with `fn new() -> Self` and no `Default` impl

8 years agoLint unused labels
mcarton [Tue, 1 Mar 2016 14:15:39 +0000 (15:15 +0100)]
Lint unused labels

8 years agoMerge pull request #751 from oli-obk/fix/cc
Martin Carton [Tue, 8 Mar 2016 14:38:30 +0000 (15:38 +0100)]
Merge pull request #751 from oli-obk/fix/cc

fix cyclomatic complexity lint triggering because of short circuit operations

8 years agofix cyclomatic complexity lint triggering because of short circuit operations
Oliver Schneider [Tue, 8 Mar 2016 14:10:02 +0000 (15:10 +0100)]
fix cyclomatic complexity lint triggering because of short circuit operations

8 years agoMerge pull request #741 from martiansideofthemoon/blastoise
llogiq [Tue, 8 Mar 2016 08:50:00 +0000 (09:50 +0100)]
Merge pull request #741 from martiansideofthemoon/blastoise

Linting classical overflow checks

8 years agoAdding symmetric lints and test cases
KALPESH KRISHNA [Tue, 8 Mar 2016 05:33:30 +0000 (11:03 +0530)]
Adding symmetric lints and test cases

8 years agoMerge pull request #747 from mcarton/fix-ice
Martin Carton [Mon, 7 Mar 2016 22:36:57 +0000 (23:36 +0100)]
Merge pull request #747 from mcarton/fix-ice

 Fix ICE in for_loop with globals

8 years agoBump to 0.0.48
mcarton [Mon, 7 Mar 2016 22:24:49 +0000 (23:24 +0100)]
Bump to 0.0.48

8 years agoFix ICE in for_loop with globals
mcarton [Mon, 7 Mar 2016 22:24:11 +0000 (23:24 +0100)]
Fix ICE in for_loop with globals

8 years agoAdding underflow checks and tests
KALPESH KRISHNA [Mon, 7 Mar 2016 21:27:45 +0000 (02:57 +0530)]
Adding underflow checks and tests

8 years agoLinting classical overflow checks.
KALPESH KRISHNA [Sun, 6 Mar 2016 15:01:17 +0000 (20:31 +0530)]
Linting classical overflow checks.

8 years agoMerge pull request #745 from mcarton/tests
Manish Goregaokar [Mon, 7 Mar 2016 19:06:47 +0000 (00:36 +0530)]
Merge pull request #745 from mcarton/tests

Don’t fail tests when regex_macros does not compile

8 years agoPut regex_macros tests in a separate feature
mcarton [Mon, 7 Mar 2016 18:08:46 +0000 (19:08 +0100)]
Put regex_macros tests in a separate feature

8 years agoSplit travis tests into build + test
mcarton [Mon, 7 Mar 2016 17:40:13 +0000 (18:40 +0100)]
Split travis tests into build + test

8 years agoMerge pull request #744 from mcarton/rustup
Manish Goregaokar [Mon, 7 Mar 2016 16:05:45 +0000 (21:35 +0530)]
Merge pull request #744 from mcarton/rustup

[WIP] Rustup to rustc 1.9.0-nightly (998a6720b 2016-03-07)

8 years agoBump to 0.0.47
mcarton [Mon, 7 Mar 2016 15:57:01 +0000 (16:57 +0100)]
Bump to 0.0.47

8 years agoFix tests with inclusive ranges
mcarton [Mon, 7 Mar 2016 15:55:12 +0000 (16:55 +0100)]
Fix tests with inclusive ranges

8 years agoRemove bad test in for_loop
mcarton [Mon, 7 Mar 2016 15:42:49 +0000 (16:42 +0100)]
Remove bad test in for_loop

8 years agoRemove all ExprRange
mcarton [Mon, 7 Mar 2016 15:31:38 +0000 (16:31 +0100)]
Remove all ExprRange

Rustup to rustc 1.9.0-nightly (998a6720b 2016-03-07)

8 years agoImplement struct literal equality
mcarton [Mon, 7 Mar 2016 15:30:02 +0000 (16:30 +0100)]
Implement struct literal equality

8 years agoadd clippy service badge
Camille TJHOA [Sun, 6 Mar 2016 23:12:06 +0000 (00:12 +0100)]
add clippy service badge

8 years agoFix dogfood
mcarton [Sun, 6 Mar 2016 13:10:04 +0000 (14:10 +0100)]
Fix dogfood

8 years agoMerge branch 'pr-737'
Manish Goregaokar [Sat, 5 Mar 2016 18:11:34 +0000 (23:41 +0530)]
Merge branch 'pr-737'

8 years agoWarn about calling a closure in the same expression where it's defined.
KALPESH KRISHNA [Thu, 3 Mar 2016 19:14:49 +0000 (00:44 +0530)]
Warn about calling a closure in the same expression where it's defined.

8 years agoMerge pull request #738 from oli-obk/improve_cc
Manish Goregaokar [Fri, 4 Mar 2016 15:40:37 +0000 (21:10 +0530)]
Merge pull request #738 from oli-obk/improve_cc

simplify cyclomatic complexity auxiliarly value computation

8 years agosimplify cyclomatic complexity auxiliarly value computation
Oliver Schneider [Fri, 4 Mar 2016 15:27:03 +0000 (16:27 +0100)]
simplify cyclomatic complexity auxiliarly value computation

previously the HIR was unnecessarily traversed twice

8 years agoMerge pull request #736 from mcarton/vec
Martin Carton [Fri, 4 Mar 2016 13:28:58 +0000 (14:28 +0100)]
Merge pull request #736 from mcarton/vec

Update to rustc 1.9.0-nightly (e91f889ed 2016-03-03)

8 years agoBump to 0.0.46
mcarton [Fri, 4 Mar 2016 13:25:53 +0000 (14:25 +0100)]
Bump to 0.0.46