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

8 years agoMerge pull request #670 from Manishearth/better-ice-fix
Manish Goregaokar [Mon, 15 Feb 2016 23:11:23 +0000 (04:41 +0530)]
Merge pull request #670 from Manishearth/better-ice-fix

Make derive lint handle generics correctly

8 years agoFix wrong reported lint for EXPL_IMPL_CLONE_ON_COPY
mcarton [Mon, 15 Feb 2016 21:26:20 +0000 (22:26 +0100)]
Fix wrong reported lint for EXPL_IMPL_CLONE_ON_COPY

8 years agoAddress @ilogiq's nits
Joshua Holmer [Mon, 15 Feb 2016 18:36:10 +0000 (13:36 -0500)]
Address @ilogiq's nits

8 years agoMerge pull request #674 from mcarton/fix-collapsible_if
Martin Carton [Mon, 15 Feb 2016 16:48:37 +0000 (17:48 +0100)]
Merge pull request #674 from mcarton/fix-collapsible_if

Fix suggestion in `COLLAPSIBLE_IF` lint

8 years agoFix suggestion in `COLLAPSIBLE_IF` lint
mcarton [Mon, 15 Feb 2016 16:43:16 +0000 (17:43 +0100)]
Fix suggestion in `COLLAPSIBLE_IF` lint

8 years agoReword lint documentation
Joshua Holmer [Mon, 15 Feb 2016 15:32:04 +0000 (10:32 -0500)]
Reword lint documentation

char is faster, proven by benchmark.

8 years agoAddress nits
Joshua Holmer [Mon, 15 Feb 2016 14:10:31 +0000 (09:10 -0500)]
Address nits

8 years agoReplace potentially ICEgen ast_ty_to_ty_cache
mcarton [Mon, 15 Feb 2016 12:44:59 +0000 (13:44 +0100)]
Replace potentially ICEgen ast_ty_to_ty_cache

8 years agoCleanup
mcarton [Mon, 15 Feb 2016 12:25:29 +0000 (13:25 +0100)]
Cleanup

8 years agoMake derive lint handle generics correctly
Manish Goregaokar [Mon, 15 Feb 2016 04:50:26 +0000 (10:20 +0530)]
Make derive lint handle generics correctly

8 years agoLint single-character strings as P: Pattern args
Joshua Holmer [Mon, 15 Feb 2016 03:40:43 +0000 (22:40 -0500)]
Lint single-character strings as P: Pattern args

Fixes #650

8 years agoMerge pull request #667 from mcarton/fix-ice
Manish Goregaokar [Mon, 15 Feb 2016 01:58:58 +0000 (07:28 +0530)]
Merge pull request #667 from mcarton/fix-ice

Fix ICE in `EXPL_IMPL_CLONE_ON_COPY`

8 years agoFix ICE in `EXPL_IMPL_CLONE_ON_COPY`
mcarton [Sun, 14 Feb 2016 19:29:32 +0000 (20:29 +0100)]
Fix ICE in `EXPL_IMPL_CLONE_ON_COPY`

8 years agoremove Visitor from regex_macro
llogiq [Sun, 14 Feb 2016 15:55:02 +0000 (16:55 +0100)]
remove Visitor from regex_macro

8 years agoMerge pull request #662 from mcarton/#601
llogiq [Sun, 14 Feb 2016 11:58:36 +0000 (12:58 +0100)]
Merge pull request #662 from mcarton/#601

Fix #601

8 years agoAddress small nit
mcarton [Sun, 14 Feb 2016 11:07:56 +0000 (12:07 +0100)]
Address small nit

8 years agoMerge pull request #654 from mcarton/new
llogiq [Sat, 13 Feb 2016 21:19:36 +0000 (22:19 +0100)]
Merge pull request #654 from mcarton/new

Lints about `new` methods

8 years agoFix false positive in `NEEDLESS_RANGE_LOOP`
mcarton [Sat, 13 Feb 2016 21:09:17 +0000 (22:09 +0100)]
Fix false positive in `NEEDLESS_RANGE_LOOP`

8 years agoFix comment
mcarton [Sat, 13 Feb 2016 21:08:15 +0000 (22:08 +0100)]
Fix comment

8 years agoMerge pull request #660 from mcarton/copies
Manish Goregaokar [Sat, 13 Feb 2016 14:40:21 +0000 (20:10 +0530)]
Merge pull request #660 from mcarton/copies

Fix false positive for `ifs_same_cond` and `cfg!`

8 years agoFix false positive for `ifs_same_cond` and `cfg!`
mcarton [Sat, 13 Feb 2016 14:36:57 +0000 (15:36 +0100)]
Fix false positive for `ifs_same_cond` and `cfg!`

8 years agoBump twice
Manish Goregaokar [Sat, 13 Feb 2016 12:31:33 +0000 (18:01 +0530)]
Bump twice

8 years agoMerge pull request #658 from mcarton/rustup
Martin Carton [Sat, 13 Feb 2016 12:20:45 +0000 (13:20 +0100)]
Merge pull request #658 from mcarton/rustup

Rustup to 1.8.0-nightly (ce4b75f25 2016-02-12)

8 years agoRustup to 1.8.0-nightly (ce4b75f25 2016-02-12)
mcarton [Sat, 13 Feb 2016 12:17:48 +0000 (13:17 +0100)]
Rustup to 1.8.0-nightly (ce4b75f25 2016-02-12)

8 years agoWrong crate
Manish Goregaokar [Sat, 13 Feb 2016 12:13:28 +0000 (17:43 +0530)]
Wrong crate

8 years agoMerge pull request #655 from Manishearth/clearer-readme
Manish Goregaokar [Sat, 13 Feb 2016 12:08:53 +0000 (17:38 +0530)]
Merge pull request #655 from Manishearth/clearer-readme

Clarify readme

8 years ago+license
Manish Goregaokar [Sat, 13 Feb 2016 12:08:08 +0000 (17:38 +0530)]
+license

8 years agoLint about `new` methods not returning `Self`
mcarton [Sat, 13 Feb 2016 01:20:22 +0000 (02:20 +0100)]
Lint about `new` methods not returning `Self`

8 years agoClarify readme
Manish Goregaokar [Sat, 13 Feb 2016 03:15:36 +0000 (08:45 +0530)]
Clarify readme

8 years agoAdd `new` to WRONG_SELF_CONVENTION
mcarton [Sat, 13 Feb 2016 00:42:46 +0000 (01:42 +0100)]
Add `new` to WRONG_SELF_CONVENTION

8 years agoFix false negative with OK_EXPECT
mcarton [Sat, 13 Feb 2016 00:38:55 +0000 (01:38 +0100)]
Fix false negative with OK_EXPECT

8 years agoAdd @mcarton as owner
Manish Goregaokar [Fri, 12 Feb 2016 21:29:39 +0000 (02:59 +0530)]
Add @mcarton as owner

8 years agoMerge branch 'master' of github.com:Manishearth/rust-clippy
Manish Goregaokar [Fri, 12 Feb 2016 19:15:37 +0000 (00:45 +0530)]
Merge branch 'master' of github.com:Manishearth/rust-clippy

8 years agoBump to 0.0.38
Manish Goregaokar [Fri, 12 Feb 2016 19:14:27 +0000 (00:44 +0530)]
Bump to 0.0.38

8 years agoMerge pull request #647 from mcarton/copies2
llogiq [Fri, 12 Feb 2016 18:49:16 +0000 (19:49 +0100)]
Merge pull request #647 from mcarton/copies2

[WIP] Lint equal match arms

8 years agoMerge branch 'master' into copies2
mcarton [Fri, 12 Feb 2016 17:56:27 +0000 (18:56 +0100)]
Merge branch 'master' into copies2

8 years agoMerge pull request #652 from oli-obk/fix/nightly
llogiq [Fri, 12 Feb 2016 17:40:44 +0000 (18:40 +0100)]
Merge pull request #652 from oli-obk/fix/nightly

WIP: fix nightly breakage

8 years agofix nightly breakage
Oliver 'ker' Schneider [Fri, 12 Feb 2016 17:35:44 +0000 (18:35 +0100)]
fix nightly breakage

8 years agoFix `Hash` implementation for `Constant`
mcarton [Fri, 12 Feb 2016 14:51:55 +0000 (15:51 +0100)]
Fix `Hash` implementation for `Constant`

8 years agoSmall optimisation of most common cases
mcarton [Thu, 11 Feb 2016 22:49:35 +0000 (23:49 +0100)]
Small optimisation of most common cases

8 years agoAdd the MATCH_SAME_ARMS lint
mcarton [Wed, 10 Feb 2016 00:22:53 +0000 (01:22 +0100)]
Add the MATCH_SAME_ARMS lint

8 years agoDogfood for future MATCH_SAME_ARMS lint
mcarton [Tue, 9 Feb 2016 23:38:53 +0000 (00:38 +0100)]
Dogfood for future MATCH_SAME_ARMS lint

8 years agoAdd missing types to eq_ty
mcarton [Tue, 9 Feb 2016 16:10:50 +0000 (17:10 +0100)]
Add missing types to eq_ty

8 years agoExtend IF_SAME_THEN_ELSE to ifs sequences
mcarton [Tue, 9 Feb 2016 15:45:47 +0000 (16:45 +0100)]
Extend IF_SAME_THEN_ELSE to ifs sequences

8 years agoImplement Expr spanless-hashing
mcarton [Tue, 9 Feb 2016 14:18:27 +0000 (15:18 +0100)]
Implement Expr spanless-hashing

8 years agoAdd missing ExprLoop to SpanlessEq
mcarton [Sat, 6 Feb 2016 21:41:12 +0000 (22:41 +0100)]
Add missing ExprLoop to SpanlessEq

8 years agoRefactor Expr comparisons
mcarton [Sat, 6 Feb 2016 19:13:25 +0000 (20:13 +0100)]
Refactor Expr comparisons

8 years agoAdd missing ExprIndex to is_exp_equal
mcarton [Sat, 30 Jan 2016 17:03:53 +0000 (18:03 +0100)]
Add missing ExprIndex to is_exp_equal

8 years agofixed README
llogiq [Fri, 12 Feb 2016 11:31:13 +0000 (12:31 +0100)]
fixed README

8 years agoMerge pull request #637 from mcarton/debug
llogiq [Fri, 12 Feb 2016 11:18:15 +0000 (12:18 +0100)]
Merge pull request #637 from mcarton/debug

Lint usage of `Debug`-based formatting

8 years agoMerge pull request #651 from oli-obk/improve_no_effect
Manish Goregaokar [Thu, 11 Feb 2016 13:54:56 +0000 (19:24 +0530)]
Merge pull request #651 from oli-obk/improve_no_effect

improve the `no_effect` lint

8 years agoimprove the `no_effect` lint
Oliver Schneider [Thu, 11 Feb 2016 12:50:41 +0000 (13:50 +0100)]
improve the `no_effect` lint

8 years agoMerge branch 'pr-645'
Manish Goregaokar [Wed, 10 Feb 2016 04:50:23 +0000 (10:20 +0530)]
Merge branch 'pr-645'

8 years agoImprove testing and suggestion messages on bool_comparison
Joshua Holmer [Tue, 9 Feb 2016 20:44:07 +0000 (15:44 -0500)]
Improve testing and suggestion messages on bool_comparison

8 years agoLint usage of `Debug`-based formatting
mcarton [Sun, 7 Feb 2016 17:30:57 +0000 (18:30 +0100)]
Lint usage of `Debug`-based formatting

8 years agoDon’t use `{:?}` and use span_suggestion in TOPLEVEL_REF_ARG
mcarton [Sun, 7 Feb 2016 17:28:37 +0000 (18:28 +0100)]
Don’t use `{:?}` and use span_suggestion in TOPLEVEL_REF_ARG

8 years agoRemove unused Display implementation for consts
mcarton [Sun, 7 Feb 2016 17:14:03 +0000 (18:14 +0100)]
Remove unused Display implementation for consts

8 years agoUse const_eval in loops
mcarton [Sun, 7 Feb 2016 17:10:03 +0000 (18:10 +0100)]
Use const_eval in loops

8 years agoUpdate lints
Joshua Holmer [Tue, 9 Feb 2016 19:52:20 +0000 (14:52 -0500)]
Update lints

8 years agodisplay suggestion separately from lint
Joshua Holmer [Tue, 9 Feb 2016 19:44:42 +0000 (14:44 -0500)]
display suggestion separately from lint

8 years agoMerge branch 'pr-613'
Manish Goregaokar [Tue, 9 Feb 2016 19:33:26 +0000 (01:03 +0530)]
Merge branch 'pr-613'

Conflicts:
src/lib.rs
src/types.rs

8 years agolint comparison to bool (e.g. `y == true`)
Joshua Holmer [Tue, 9 Feb 2016 19:10:22 +0000 (14:10 -0500)]
lint comparison to bool (e.g. `y == true`)

Addresses #630

8 years agoMerge pull request #642 from Manishearth/regex_macro
Manish Goregaokar [Tue, 9 Feb 2016 08:47:46 +0000 (14:17 +0530)]
Merge pull request #642 from Manishearth/regex_macro

Regex macro

8 years agospeed up lint using blocks and types
llogiq [Tue, 9 Feb 2016 05:18:08 +0000 (06:18 +0100)]
speed up lint using blocks and types

8 years agoMerge remote-tracking branch 'origin/master' into regex_macro
llogiq [Mon, 8 Feb 2016 22:48:11 +0000 (23:48 +0100)]
Merge remote-tracking branch 'origin/master' into regex_macro

8 years agofix #595
llogiq [Mon, 8 Feb 2016 22:48:04 +0000 (23:48 +0100)]
fix #595

8 years agoMerge pull request #640 from oli-obk/fix/639
Manish Goregaokar [Mon, 8 Feb 2016 10:45:59 +0000 (16:15 +0530)]
Merge pull request #640 from oli-obk/fix/639

prevent panic in enum glob import lint if a crate's elements are glob imported

8 years agoprevent panic in enum glob import lint if a crate's elements are glob imported
Oliver Schneider [Mon, 8 Feb 2016 10:28:18 +0000 (11:28 +0100)]
prevent panic in enum glob import lint if a crate's elements are glob imported

fixes #639

8 years agoregex macro lint
llogiq [Sun, 7 Feb 2016 21:50:54 +0000 (22:50 +0100)]
regex macro lint

8 years agoMerge pull request #635 from mcarton/fix-wiki
Manish Goregaokar [Sun, 7 Feb 2016 14:18:03 +0000 (19:48 +0530)]
Merge pull request #635 from mcarton/fix-wiki

Fix wiki

8 years agoFix wiki
mcarton [Sun, 7 Feb 2016 14:14:12 +0000 (15:14 +0100)]
Fix wiki

Markdown is hell.

8 years agoMerge pull request #603 from mcarton/copies
llogiq [Sun, 7 Feb 2016 13:48:13 +0000 (14:48 +0100)]
Merge pull request #603 from mcarton/copies

Die copy & paste, die

8 years agoSmall cleanup
mcarton [Sun, 7 Feb 2016 13:40:45 +0000 (14:40 +0100)]
Small cleanup

8 years agoFix typo
mcarton [Fri, 5 Feb 2016 18:43:21 +0000 (19:43 +0100)]
Fix typo

8 years agoAdd `-` and `/` to EQ_OP
mcarton [Wed, 3 Feb 2016 19:42:05 +0000 (20:42 +0100)]
Add `-` and `/` to EQ_OP

8 years agoImprove is_exp_equal
mcarton [Sat, 30 Jan 2016 19:10:14 +0000 (20:10 +0100)]
Improve is_exp_equal