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

8 years agos/ctxt/TyCtxt
mcarton [Fri, 4 Mar 2016 13:25:34 +0000 (14:25 +0100)]
s/ctxt/TyCtxt

8 years ago`vec!` now uses `box`
mcarton [Thu, 3 Mar 2016 19:09:31 +0000 (20:09 +0100)]
`vec!` now uses `box`

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

8 years agoBump to 0.0.45
Manish Goregaokar [Wed, 2 Mar 2016 19:54:51 +0000 (01:24 +0530)]
Bump to 0.0.45

8 years agoRust upgrade to 2016-03-02 nightly
Manish Goregaokar [Wed, 2 Mar 2016 19:54:20 +0000 (01:24 +0530)]
Rust upgrade to 2016-03-02 nightly

8 years agoMerge pull request #726 from Manishearth/fmt
Manish Goregaokar [Mon, 29 Feb 2016 16:44:04 +0000 (22:14 +0530)]
Merge pull request #726 from Manishearth/fmt

Rustfmt everything

8 years agorustfmt
Manish Goregaokar [Mon, 29 Feb 2016 11:19:32 +0000 (16:49 +0530)]
rustfmt

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

8 years agolint ! 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

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

8 years agolint unportable clike enum discriminants
Oliver Schneider [Mon, 29 Feb 2016 08:36:13 +0000 (09:36 +0100)]
lint unportable clike enum discriminants

8 years agoMerge pull request #721 from mcarton/while_let_loop
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`

8 years agoMerge pull request #723 from mcarton/swap
llogiq [Sun, 28 Feb 2016 21:48:41 +0000 (22:48 +0100)]
Merge pull request #723 from mcarton/swap

Swap lints

8 years agoLint manual swaps
mcarton [Sat, 27 Feb 2016 23:46:02 +0000 (00:46 +0100)]
Lint manual swaps

8 years agoFix wrong suggestion in `WHILE_LET_LOOP`
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).

8 years agoLint `foo = bar; bar = foo` sequences
mcarton [Sat, 27 Feb 2016 23:01:15 +0000 (00:01 +0100)]
Lint `foo = bar; bar = foo` sequences

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

8 years agoCleanup
mcarton [Sat, 27 Feb 2016 17:14:37 +0000 (18:14 +0100)]
Cleanup

8 years agoFix (new?) rustc warnings
mcarton [Sat, 27 Feb 2016 17:05:50 +0000 (18:05 +0100)]
Fix (new?) rustc warnings

8 years agoAdd a lint about suspiciously formatted `else if`
mcarton [Sat, 27 Feb 2016 16:59:04 +0000 (17:59 +0100)]
Add a lint about suspiciously formatted `else if`

8 years agoAdd a lint about suspiciously formatted `=@` ops
mcarton [Sat, 27 Feb 2016 16:57:36 +0000 (17:57 +0100)]
Add a lint about suspiciously formatted `=@` ops

For `@` in {`*`, `!`, `-`}.

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

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

8 years agoMerge pull request #689 from mcarton/entries
llogiq [Fri, 26 Feb 2016 11:18:34 +0000 (12:18 +0100)]
Merge pull request #689 from mcarton/entries

Improve the `MAP_ENTRY` lint

8 years agoMerge branch 'pr-704'
Manish Goregaokar [Wed, 24 Feb 2016 20:08:08 +0000 (01:38 +0530)]
Merge branch 'pr-704'

Conflicts:
src/len_zero.rs

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

8 years agoUse `span_suggestion` in loops lints
mcarton [Wed, 24 Feb 2016 19:54:35 +0000 (20:54 +0100)]
Use `span_suggestion` in loops lints

8 years agoMacro check `len_zero`
mcarton [Wed, 24 Feb 2016 19:53:15 +0000 (20:53 +0100)]
Macro check `len_zero`

8 years agoUse `span_suggestion` in `len_zero`
mcarton [Wed, 24 Feb 2016 19:52:47 +0000 (20:52 +0100)]
Use `span_suggestion` in `len_zero`

8 years agoRustfmt and sort all `use` items
mcarton [Wed, 24 Feb 2016 16:38:57 +0000 (17:38 +0100)]
Rustfmt and sort all `use` items

8 years agoBump to 0.0.44
mcarton [Mon, 22 Feb 2016 19:06:59 +0000 (20:06 +0100)]
Bump to 0.0.44

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

8 years agoFix ICE with match_def_path
mcarton [Mon, 22 Feb 2016 19:00:51 +0000 (20:00 +0100)]
Fix ICE with match_def_path

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

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

8 years agoBump to 0.0.43
Manish Goregaokar [Sun, 21 Feb 2016 14:39:37 +0000 (20:09 +0530)]
Bump to 0.0.43

8 years agoMerge pull request #690 from quininer/fix-nightly
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)

8 years agoFix `USELESS_FORMAT` wiki
mcarton [Sun, 21 Feb 2016 12:21:04 +0000 (13:21 +0100)]
Fix `USELESS_FORMAT` wiki

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

8 years agoSmall cleanup
mcarton [Sat, 20 Feb 2016 20:20:56 +0000 (21:20 +0100)]
Small cleanup

8 years agoLint about `format!("{}", foo)`
mcarton [Sat, 20 Feb 2016 20:15:05 +0000 (21:15 +0100)]
Lint about `format!("{}", foo)`

8 years agoReplace all `format!("{}", foo)` calls
mcarton [Sat, 20 Feb 2016 20:03:45 +0000 (21:03 +0100)]
Replace all `format!("{}", foo)` calls

8 years agoLint about usage of `format!("string literal")`
mcarton [Sat, 20 Feb 2016 16:35:07 +0000 (17:35 +0100)]
Lint about usage of `format!("string literal")`

8 years agoRemove all use of `format!("string literal")`
mcarton [Sat, 20 Feb 2016 16:33:53 +0000 (17:33 +0100)]
Remove all use of `format!("string literal")`

8 years agoBuild the import lint in update_lints.py
mcarton [Sat, 20 Feb 2016 16:00:36 +0000 (17:00 +0100)]
Build the import lint in update_lints.py

8 years agofix nightly
quininer kel [Thu, 18 Feb 2016 20:16:39 +0000 (04:16 +0800)]
fix nightly
https://github.com/rust-lang/rust/commit/9b40e1e5b3d75c101b1ad78a1e2160962e955174

8 years agoMerge pull request #688 from Manishearth/fix-671
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

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

8 years agoimprove str_add_assign lint description
llogiq [Thu, 18 Feb 2016 19:12:33 +0000 (20:12 +0100)]
improve str_add_assign lint description

8 years agoMerge pull request #687 from oli-obk/fix_glob_enum_use
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)

8 years agofix enum glob use (again)
Oliver Schneider [Thu, 18 Feb 2016 15:08:45 +0000 (16:08 +0100)]
fix enum glob use (again)

8 years agoMerge pull request #673 from oli-obk/fix/665
Manish Goregaokar [Thu, 18 Feb 2016 05:42:58 +0000 (11:12 +0530)]
Merge pull request #673 from oli-obk/fix/665

don't lint on all caps enum variants starting with the same char

8 years agoBump and publish to 0.0.41 (fix #683)
Manish Goregaokar [Thu, 18 Feb 2016 05:22:53 +0000 (10:52 +0530)]
Bump and publish to 0.0.41 (fix #683)

8 years agoMerge pull request #664 from Manishearth/fix_regex
Manish Goregaokar [Thu, 18 Feb 2016 04:58:12 +0000 (10:28 +0530)]
Merge pull request #664 from Manishearth/fix_regex

remove Visitor from regex_macro

8 years agoMerge pull request #679 from mcarton/rustup
Martin Carton [Wed, 17 Feb 2016 14:53:28 +0000 (15:53 +0100)]
Merge pull request #679 from mcarton/rustup

Rustup to 1.8.0-nightly (57c357d89 2016-02-16)

8 years agoRustup to 1.8.0-nightly (57c357d89 2016-02-16)
mcarton [Wed, 17 Feb 2016 12:38:44 +0000 (13:38 +0100)]
Rustup to 1.8.0-nightly (57c357d89 2016-02-16)

8 years agofallout
Oliver Schneider [Mon, 15 Feb 2016 16:00:06 +0000 (17:00 +0100)]
fallout

8 years agofix enum_variant_names linting on all caps enum variants
Oliver Schneider [Mon, 15 Feb 2016 15:59:56 +0000 (16:59 +0100)]
fix enum_variant_names linting on all caps enum variants

8 years agoMerge pull request #669 from shssoichiro/single-char-pattern
llogiq [Tue, 16 Feb 2016 13:24:22 +0000 (14:24 +0100)]
Merge pull request #669 from shssoichiro/single-char-pattern

Lint single-character strings as P: Pattern args

8 years agoMerge pull request #676 from mcarton/hash_eq
Manish Goregaokar [Mon, 15 Feb 2016 23:50:30 +0000 (05:20 +0530)]
Merge pull request #676 from mcarton/hash_eq

Make DERIVE_HASH_NOT_EQ symmetric

8 years agoMake DERIVE_HASH_NOT_EQ symmetric
mcarton [Mon, 15 Feb 2016 22:38:09 +0000 (23:38 +0100)]
Make DERIVE_HASH_NOT_EQ symmetric