]>
git.lizzy.rs Git - rust.git/log
mcarton [Mon, 22 Feb 2016 14:42:24 +0000 (15:42 +0100)]
Add a `BLACKLISTED_NAME` lint
mcarton [Mon, 22 Feb 2016 13:25:51 +0000 (14:25 +0100)]
Add configuration variables to wiki
mcarton [Sun, 21 Feb 2016 20:01:30 +0000 (21:01 +0100)]
Use configuration in the `TYPE_COMPLEXITY` lint
mcarton [Sun, 21 Feb 2016 19:11:32 +0000 (20:11 +0100)]
Start implementing a configuration file
mcarton [Fri, 11 Mar 2016 21:14:43 +0000 (22:14 +0100)]
Merge branch 'aochagavia-indexing_slicing'
mcarton [Fri, 11 Mar 2016 21:10:40 +0000 (22:10 +0100)]
Small nits on INDEXING_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.
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 `..`
mcarton [Fri, 11 Mar 2016 19:27:33 +0000 (20:27 +0100)]
Fix `unsugar_range` with `..`
mcarton [Fri, 11 Mar 2016 12:19:51 +0000 (13:19 +0100)]
Fix punctuation in README
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)
mcarton [Fri, 11 Mar 2016 13:19:28 +0000 (14:19 +0100)]
Bump to 0.0.50
mcarton [Thu, 10 Mar 2016 17:13:49 +0000 (18:13 +0100)]
Rustup to 1.9.0-nightly (
c9629d61c 2016-03-10)
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
Camille TJHOA [Thu, 10 Mar 2016 20:42:24 +0000 (21:42 +0100)]
Add link with clippy service
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)
mcarton [Wed, 9 Mar 2016 15:22:53 +0000 (16:22 +0100)]
Bump to 0.0.49
mcarton [Wed, 9 Mar 2016 15:22:31 +0000 (16:22 +0100)]
Improve the MATCH_REF_PATS suggestions
mcarton [Wed, 9 Mar 2016 15:10:24 +0000 (16:10 +0100)]
Handle the new TryDesugar variant
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
mcarton [Thu, 3 Mar 2016 18:46:10 +0000 (19:46 +0100)]
Fix types comparison
mcarton [Tue, 1 Mar 2016 19:38:21 +0000 (20:38 +0100)]
Remove uses of `ast_ty_to_ty_cache`
mcarton [Tue, 1 Mar 2016 15:25:15 +0000 (16:25 +0100)]
Lint types with `fn new() -> Self` and no `Default` impl
mcarton [Tue, 1 Mar 2016 14:15:39 +0000 (15:15 +0100)]
Lint unused labels
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
Oliver Schneider [Tue, 8 Mar 2016 14:10:02 +0000 (15:10 +0100)]
fix cyclomatic complexity lint triggering because of short circuit operations
llogiq [Tue, 8 Mar 2016 08:50:00 +0000 (09:50 +0100)]
Merge pull request #741 from martiansideofthemoon/blastoise
Linting classical overflow checks
KALPESH KRISHNA [Tue, 8 Mar 2016 05:33:30 +0000 (11:03 +0530)]
Adding symmetric lints and test cases
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
mcarton [Mon, 7 Mar 2016 22:24:49 +0000 (23:24 +0100)]
Bump to 0.0.48
mcarton [Mon, 7 Mar 2016 22:24:11 +0000 (23:24 +0100)]
Fix ICE in for_loop with globals
KALPESH KRISHNA [Mon, 7 Mar 2016 21:27:45 +0000 (02:57 +0530)]
Adding underflow checks and tests
KALPESH KRISHNA [Sun, 6 Mar 2016 15:01:17 +0000 (20:31 +0530)]
Linting classical overflow checks.
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
mcarton [Mon, 7 Mar 2016 18:08:46 +0000 (19:08 +0100)]
Put regex_macros tests in a separate feature
mcarton [Mon, 7 Mar 2016 17:40:13 +0000 (18:40 +0100)]
Split travis tests into build + test
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)
mcarton [Mon, 7 Mar 2016 15:57:01 +0000 (16:57 +0100)]
Bump to 0.0.47
mcarton [Mon, 7 Mar 2016 15:55:12 +0000 (16:55 +0100)]
Fix tests with inclusive ranges
mcarton [Mon, 7 Mar 2016 15:42:49 +0000 (16:42 +0100)]
Remove bad test in for_loop
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)
mcarton [Mon, 7 Mar 2016 15:30:02 +0000 (16:30 +0100)]
Implement struct literal equality
Camille TJHOA [Sun, 6 Mar 2016 23:12:06 +0000 (00:12 +0100)]
add clippy service badge
mcarton [Sun, 6 Mar 2016 13:10:04 +0000 (14:10 +0100)]
Fix dogfood
Manish Goregaokar [Sat, 5 Mar 2016 18:11:34 +0000 (23:41 +0530)]
Merge branch 'pr-737'
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.
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
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
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)
mcarton [Fri, 4 Mar 2016 13:25:53 +0000 (14:25 +0100)]
Bump to 0.0.46
mcarton [Fri, 4 Mar 2016 13:25:34 +0000 (14:25 +0100)]
s/ctxt/TyCtxt
mcarton [Thu, 3 Mar 2016 19:09:31 +0000 (20:09 +0100)]
`vec!` now uses `box`
Martin Carton [Thu, 3 Mar 2016 12:36:18 +0000 (13:36 +0100)]
Merge pull request #733 from Manishearth/rustup
Rust upgrade to 2016-03-02
Manish Goregaokar [Wed, 2 Mar 2016 19:54:51 +0000 (01:24 +0530)]
Bump to 0.0.45
Manish Goregaokar [Wed, 2 Mar 2016 19:54:20 +0000 (01:24 +0530)]
Rust upgrade to 2016-03-02 nightly
Manish Goregaokar [Mon, 29 Feb 2016 16:44:04 +0000 (22:14 +0530)]
Merge pull request #726 from Manishearth/fmt
Rustfmt everything
Manish Goregaokar [Mon, 29 Feb 2016 11:19:32 +0000 (16:49 +0530)]
rustfmt
Manish Goregaokar [Mon, 29 Feb 2016 16:04:15 +0000 (21:34 +0530)]
Merge pull request #725 from oli-obk/swap_if_arms
lint ! and != in if expressions with else branches
Oliver Schneider [Mon, 29 Feb 2016 08:45:36 +0000 (09:45 +0100)]
lint ! and != in if expressions with else branches
llogiq [Mon, 29 Feb 2016 09:01:14 +0000 (10:01 +0100)]
Merge pull request #710 from oli-obk/enum_disrc_portability
lint unportable clike enum discriminants
Oliver Schneider [Mon, 29 Feb 2016 08:36:13 +0000 (09:36 +0100)]
lint unportable clike enum discriminants
llogiq [Sun, 28 Feb 2016 21:49:56 +0000 (22:49 +0100)]
Merge pull request #721 from mcarton/while_let_loop
Fix wrong suggestion in `WHILE_LET_LOOP`
llogiq [Sun, 28 Feb 2016 21:48:41 +0000 (22:48 +0100)]
Merge pull request #723 from mcarton/swap
Swap lints
mcarton [Sat, 27 Feb 2016 23:46:02 +0000 (00:46 +0100)]
Lint manual swaps
mcarton [Sat, 27 Feb 2016 21:59:15 +0000 (22:59 +0100)]
Fix wrong suggestion in `WHILE_LET_LOOP`
Ok, I lied in the title. This basically *removes* the problematic part
but:
1) it was ugly with big bodies;
2) it was not indented properly;
3) it wasn’t very smart (see #675).
mcarton [Sat, 27 Feb 2016 23:01:15 +0000 (00:01 +0100)]
Lint `foo = bar; bar = foo` sequences
llogiq [Sat, 27 Feb 2016 19:05:21 +0000 (20:05 +0100)]
Merge pull request #720 from mcarton/formatting
Formatting lints for `=@` and `else if`s
mcarton [Sat, 27 Feb 2016 17:14:37 +0000 (18:14 +0100)]
Cleanup
mcarton [Sat, 27 Feb 2016 17:05:50 +0000 (18:05 +0100)]
Fix (new?) rustc warnings
mcarton [Sat, 27 Feb 2016 16:59:04 +0000 (17:59 +0100)]
Add a lint about suspiciously formatted `else if`
mcarton [Sat, 27 Feb 2016 16:57:36 +0000 (17:57 +0100)]
Add a lint about suspiciously formatted `=@` ops
For `@` in {`*`, `!`, `-`}.
Martin Carton [Fri, 26 Feb 2016 11:54:31 +0000 (12:54 +0100)]
Merge pull request #711 from mcarton/hashmap
Fix false positive in `FOR_KV_MAP` and `&mut` refs
mcarton [Fri, 26 Feb 2016 11:45:55 +0000 (12:45 +0100)]
Fix false positive in `FOR_KV_MAP` and `&mut` refs
llogiq [Fri, 26 Feb 2016 11:18:34 +0000 (12:18 +0100)]
Merge pull request #689 from mcarton/entries
Improve the `MAP_ENTRY` lint
Manish Goregaokar [Wed, 24 Feb 2016 20:08:08 +0000 (01:38 +0530)]
Merge branch 'pr-704'
Conflicts:
src/len_zero.rs
llogiq [Wed, 24 Feb 2016 20:05:37 +0000 (21:05 +0100)]
Merge pull request #706 from mcarton/and_then
`span_suggestion` and macro checks
mcarton [Wed, 24 Feb 2016 19:54:35 +0000 (20:54 +0100)]
Use `span_suggestion` in loops lints
mcarton [Wed, 24 Feb 2016 19:53:15 +0000 (20:53 +0100)]
Macro check `len_zero`
mcarton [Wed, 24 Feb 2016 19:52:47 +0000 (20:52 +0100)]
Use `span_suggestion` in `len_zero`
mcarton [Wed, 24 Feb 2016 16:38:57 +0000 (17:38 +0100)]
Rustfmt and sort all `use` items
mcarton [Mon, 22 Feb 2016 19:06:59 +0000 (20:06 +0100)]
Bump to 0.0.44
Martin Carton [Mon, 22 Feb 2016 19:04:31 +0000 (20:04 +0100)]
Merge pull request #701 from mcarton/fix-700
Fix ICE with match_def_path
mcarton [Mon, 22 Feb 2016 19:00:51 +0000 (20:00 +0100)]
Fix ICE with match_def_path
Martin Carton [Mon, 22 Feb 2016 17:00:05 +0000 (18:00 +0100)]
Merge pull request #699 from mcarton/format
Limit `USELESS_FORMAT` with args to string args
mcarton [Mon, 22 Feb 2016 16:54:46 +0000 (17:54 +0100)]
Limit `USELESS_FORMAT` with args to string args
Manish Goregaokar [Sun, 21 Feb 2016 14:39:37 +0000 (20:09 +0530)]
Bump to 0.0.43
Martin Carton [Sun, 21 Feb 2016 14:38:31 +0000 (15:38 +0100)]
Merge pull request #690 from quininer/fix-nightly
fix nightly (2016-02-17)
mcarton [Sun, 21 Feb 2016 12:21:04 +0000 (13:21 +0100)]
Fix `USELESS_FORMAT` wiki
llogiq [Sun, 21 Feb 2016 02:16:41 +0000 (03:16 +0100)]
Merge pull request #692 from mcarton/format
Lint about `format!("string lit")` with no argument
mcarton [Sat, 20 Feb 2016 20:20:56 +0000 (21:20 +0100)]
Small cleanup
mcarton [Sat, 20 Feb 2016 20:15:05 +0000 (21:15 +0100)]
Lint about `format!("{}", foo)`
mcarton [Sat, 20 Feb 2016 20:03:45 +0000 (21:03 +0100)]
Replace all `format!("{}", foo)` calls
mcarton [Sat, 20 Feb 2016 16:35:07 +0000 (17:35 +0100)]
Lint about usage of `format!("string literal")`
mcarton [Sat, 20 Feb 2016 16:33:53 +0000 (17:33 +0100)]
Remove all use of `format!("string literal")`
mcarton [Sat, 20 Feb 2016 16:00:36 +0000 (17:00 +0100)]
Build the import lint in update_lints.py
quininer kel [Thu, 18 Feb 2016 20:16:39 +0000 (04:16 +0800)]
fix nightly
https://github.com/rust-lang/rust/commit/
9b40e1e5b3d75c101b1ad78a1e2160962e955174
Manish Goregaokar [Thu, 18 Feb 2016 20:13:23 +0000 (01:43 +0530)]
Merge pull request #688 from Manishearth/fix-671
improve str_add_assign lint description
mcarton [Thu, 18 Feb 2016 19:19:16 +0000 (20:19 +0100)]
Improve the `MAP_ENTRY` lint
Don’t span a suggestion when not appropriate but use a note and don’t
force it to be `if !cond`.
llogiq [Thu, 18 Feb 2016 19:12:33 +0000 (20:12 +0100)]
improve str_add_assign lint description
Martin Carton [Thu, 18 Feb 2016 15:23:11 +0000 (16:23 +0100)]
Merge pull request #687 from oli-obk/fix_glob_enum_use
fix enum glob use (again)