]> git.lizzy.rs Git - rust.git/log
rust.git
9 years agoFixed block check, also added macro test to collapsible_if and inline_always
llogiq [Mon, 1 Jun 2015 13:09:17 +0000 (15:09 +0200)]
Fixed block check, also added macro test to collapsible_if and inline_always

9 years agomerged upstream master
llogiq [Mon, 1 Jun 2015 11:55:55 +0000 (13:55 +0200)]
merged upstream master

9 years agonow the method lookup actually works (and I understand why! :smile:), reduces unneces...
llogiq [Mon, 1 Jun 2015 10:49:36 +0000 (12:49 +0200)]
now the method lookup actually works (and I understand why! :smile:), reduces unnecessary loops, and has a few comments

9 years agoMerge branch 'master' into len_zero
llogiq [Mon, 1 Jun 2015 05:52:22 +0000 (07:52 +0200)]
Merge branch 'master' into len_zero

9 years agoMerge pull request #68 from Manishearth/macro_expn
llogiq [Mon, 1 Jun 2015 05:44:27 +0000 (07:44 +0200)]
Merge pull request #68 from Manishearth/macro_expn

macro expn detection in mut_mut.rs

9 years agocheck for is_empty() method to get rid of false positives
llogiq [Mon, 1 Jun 2015 05:40:33 +0000 (07:40 +0200)]
check for is_empty() method to get rid of false positives

9 years agoNew lint for issue
llogiq [Sat, 30 May 2015 13:10:19 +0000 (15:10 +0200)]
New lint for issue
#72

9 years agoMerge pull request #76 from mattyhall/master
Manish Goregaokar [Fri, 29 May 2015 14:59:08 +0000 (20:29 +0530)]
Merge pull request #76 from mattyhall/master

Add lint for ifs that could be collapsed

9 years agoAdd lint for ifs that could be collapsed
Matthew Hall [Fri, 29 May 2015 14:07:34 +0000 (15:07 +0100)]
Add lint for ifs that could be collapsed

"Collapsible" ifs are ones which contain only a then block, and the then
block consists of an if that only has a then block.

9 years agomade in_macro distinguish intra-crate and extra-crate macros, as the latter have...
llogiq [Tue, 26 May 2015 11:52:40 +0000 (13:52 +0200)]
made in_macro distinguish intra-crate and extra-crate macros, as the latter have no working source (note: may fail in the face of compiler plugins doing whatever they like with spans), also one more run-pass test

9 years agoMerge pull request #71 from sourcejedi/patch-1
Manish Goregaokar [Tue, 26 May 2015 10:32:04 +0000 (16:02 +0530)]
Merge pull request #71 from sourcejedi/patch-1

Fix copy+paste in description of LEN_ZERO

9 years agoMerge pull request #70 from Manishearth/issue_69
llogiq [Mon, 25 May 2015 23:46:30 +0000 (01:46 +0200)]
Merge pull request #70 from Manishearth/issue_69

Issue #69 fixed

9 years agomade macro test even simpler, added a few tests
llogiq [Mon, 25 May 2015 23:45:15 +0000 (01:45 +0200)]
made macro test even simpler, added a few tests

9 years agofixed issue #69
llogiq [Mon, 25 May 2015 20:50:41 +0000 (22:50 +0200)]
fixed issue #69

9 years agofirst prototype of macro expn detection in mut_mut.rs
llogiq [Mon, 25 May 2015 05:22:41 +0000 (07:22 +0200)]
first prototype of macro expn detection in mut_mut.rs

9 years agoFix copy+paste in description of LEN_ZERO
Alan Jenkins [Sun, 24 May 2015 18:06:54 +0000 (19:06 +0100)]
Fix copy+paste in description of LEN_ZERO

9 years agoMerge pull request #66 from Manishearth/refactoring
llogiq [Sat, 23 May 2015 10:43:24 +0000 (12:43 +0200)]
Merge pull request #66 from Manishearth/refactoring

another refactoring…

9 years agoFormatting fixed
llogiq [Sat, 23 May 2015 10:32:29 +0000 (12:32 +0200)]
Formatting fixed

9 years agoanother refactoring, using more fitting Option methods, improving formatting, etc.
llogiq [Fri, 22 May 2015 22:49:13 +0000 (00:49 +0200)]
another refactoring, using more fitting Option methods, improving formatting, etc.

9 years agoMerge pull request #65 from Manishearth/cmp_owned
llogiq [Thu, 21 May 2015 14:41:57 +0000 (16:41 +0200)]
Merge pull request #65 from Manishearth/cmp_owned

check for str type of .to_owned() callee

9 years agoMerge pull request #64 from Manishearth/refactoring
llogiq [Thu, 21 May 2015 14:39:30 +0000 (16:39 +0200)]
Merge pull request #64 from Manishearth/refactoring

refactored Option usage and fn argument types, improved formatting

9 years agocheck for str type of .to_owned() callee
llogiq [Thu, 21 May 2015 14:37:38 +0000 (16:37 +0200)]
check for str type of .to_owned() callee

9 years agoMerge pull request #63 from Manishearth/cmp_owned
llogiq [Thu, 21 May 2015 14:00:45 +0000 (16:00 +0200)]
Merge pull request #63 from Manishearth/cmp_owned

new lint: cmp_owned

9 years agorefactored Option usage and fn argument types, improved formatting
llogiq [Thu, 21 May 2015 13:59:38 +0000 (15:59 +0200)]
refactored Option usage and fn argument types, improved formatting

9 years agoadded description to README
llogiq [Thu, 21 May 2015 12:57:20 +0000 (14:57 +0200)]
added description to README

9 years agonew lint: cmp_owned
llogiq [Thu, 21 May 2015 12:51:43 +0000 (14:51 +0200)]
new lint: cmp_owned

9 years agoMerge pull request #62 from Manishearth/len_zero_is_empty
llogiq [Wed, 20 May 2015 08:38:08 +0000 (10:38 +0200)]
Merge pull request #62 from Manishearth/len_zero_is_empty

Here goes nothing... :smile:

9 years agoadded messages to test error comments
llogiq [Wed, 20 May 2015 07:34:02 +0000 (09:34 +0200)]
added messages to test error comments

9 years agoUpdate .travis.yml
Manish Goregaokar [Wed, 20 May 2015 07:04:45 +0000 (12:34 +0530)]
Update .travis.yml

9 years agonew lints len_zero and len_without_is_empty
llogiq [Wed, 20 May 2015 06:52:19 +0000 (08:52 +0200)]
new lints len_zero and len_without_is_empty

9 years agoUpdate README.md
Manish Goregaokar [Mon, 18 May 2015 10:32:25 +0000 (16:02 +0530)]
Update README.md

9 years agoMerge pull request #33 from ctjhoa/master
Manish Goregaokar [Mon, 18 May 2015 10:30:55 +0000 (16:00 +0530)]
Merge pull request #33 from ctjhoa/master

Fix and improve README

9 years agoSpecify languages for examples
Camille TJHOA [Wed, 29 Apr 2015 14:17:30 +0000 (16:17 +0200)]
Specify languages for examples

9 years agoFix typo
Camille TJHOA [Wed, 29 Apr 2015 12:18:02 +0000 (14:18 +0200)]
Fix typo

9 years agoFix and improve README
Camille TJHOA [Tue, 28 Apr 2015 19:50:04 +0000 (21:50 +0200)]
Fix and improve README

9 years agoMerge pull request #59 from Manishearth/mut_mut
Manish Goregaokar [Mon, 18 May 2015 10:20:04 +0000 (15:50 +0530)]
Merge pull request #59 from Manishearth/mut_mut

Mut mut no longer matches ty_ptr, better error messages

9 years agoremoved ty_ptr match
llogiq [Mon, 18 May 2015 09:36:56 +0000 (11:36 +0200)]
removed ty_ptr match

9 years agobetter messages
llogiq [Mon, 18 May 2015 08:52:43 +0000 (10:52 +0200)]
better messages

9 years agoMerge pull request #58 from Manishearth/mut_mut
llogiq [Mon, 18 May 2015 08:43:59 +0000 (10:43 +0200)]
Merge pull request #58 from Manishearth/mut_mut

mut_mut now more robust (thanks to Manishearth, see issue #9)

9 years agomut_mut now more robust (thanks to Manishearth, see issue #9)
llogiq [Mon, 18 May 2015 08:41:15 +0000 (10:41 +0200)]
mut_mut now more robust (thanks to Manishearth, see issue #9)

9 years agoMerge pull request #57 from Manishearth/mut_mut
llogiq [Mon, 18 May 2015 07:07:03 +0000 (09:07 +0200)]
Merge pull request #57 from Manishearth/mut_mut

New lint: mut_mut

9 years agoNew lint: mut_mut (closes issue #9)
llogiq [Mon, 18 May 2015 07:02:24 +0000 (09:02 +0200)]
New lint: mut_mut (closes issue #9)

9 years agoMerge pull request #56 from Manishearth/identity_op
llogiq [Fri, 15 May 2015 17:16:40 +0000 (19:16 +0200)]
Merge pull request #56 from Manishearth/identity_op

new lint: identity_op, refactored bit_masks a bit

9 years agonew lint: identity_op, refactored bit_masks a bit
llogiq [Fri, 15 May 2015 16:46:43 +0000 (18:46 +0200)]
new lint: identity_op, refactored bit_masks a bit

9 years agoMerge pull request #55 from Manishearth/ineffective_bit_mask
llogiq [Fri, 15 May 2015 12:13:34 +0000 (14:13 +0200)]
Merge pull request #55 from Manishearth/ineffective_bit_mask

Added 'ineffective bit mask' lint

9 years agoAdded 'ineffective bit mask' lint
llogiq [Fri, 15 May 2015 12:09:29 +0000 (14:09 +0200)]
Added 'ineffective bit mask' lint

9 years agoUpdate README.md
Manish Goregaokar [Thu, 14 May 2015 09:11:33 +0000 (14:41 +0530)]
Update README.md

9 years agooops
Manish Goregaokar [Sun, 10 May 2015 10:43:02 +0000 (16:13 +0530)]
oops

9 years agocrates
Manish Goregaokar [Sun, 10 May 2015 10:40:05 +0000 (16:10 +0530)]
crates

9 years agoAdd eta reduction (fixes #29)
Manish Goregaokar [Sun, 10 May 2015 05:09:04 +0000 (10:39 +0530)]
Add eta reduction (fixes #29)

9 years agoplugin
Manish Goregaokar [Sat, 9 May 2015 09:54:54 +0000 (15:24 +0530)]
plugin

9 years agoAdd info
Manish Goregaokar [Sat, 9 May 2015 09:52:22 +0000 (15:22 +0530)]
Add info

9 years agomove to compiletest on crates
Manish Goregaokar [Sat, 9 May 2015 09:49:12 +0000 (15:19 +0530)]
move to compiletest on crates

9 years agoadded test for issue #31
llogiq [Fri, 8 May 2015 04:01:41 +0000 (06:01 +0200)]
added test for issue #31

9 years agoMerge pull request #52 from pythonesque/fix_vec
Manish Goregaokar [Thu, 7 May 2015 05:53:54 +0000 (11:23 +0530)]
Merge pull request #52 from pythonesque/fix_vec

Fix Box<Vec<T>> test.

9 years agoFix Box<Vec<T>> test.
Joshua Yanovski [Thu, 7 May 2015 05:52:16 +0000 (22:52 -0700)]
Fix Box<Vec<T>> test.

9 years agoMerge pull request #51 from pythonesque/fix-const-lookup
Manish Goregaokar [Thu, 7 May 2015 05:21:31 +0000 (10:51 +0530)]
Merge pull request #51 from pythonesque/fix-const-lookup

Fix panic during constant lookup.

9 years agoFix panic during constant lookup.
Joshua Yanovski [Thu, 7 May 2015 04:41:54 +0000 (21:41 -0700)]
Fix panic during constant lookup.

9 years agoMerge pull request #50 from Manishearth/precedence
llogiq [Wed, 6 May 2015 12:42:48 +0000 (14:42 +0200)]
Merge pull request #50 from Manishearth/precedence

Now without errors, refactored precedence lint

9 years agofixed typo from last commit
llogiq [Wed, 6 May 2015 12:19:02 +0000 (14:19 +0200)]
fixed typo from last commit

9 years agorefactored precedence lint
llogiq [Wed, 6 May 2015 11:20:47 +0000 (13:20 +0200)]
refactored precedence lint

9 years agoMerge pull request #48 from Manishearth/precedence
llogiq [Wed, 6 May 2015 11:10:00 +0000 (13:10 +0200)]
Merge pull request #48 from Manishearth/precedence

New lint: precedence, see issue #41

9 years agoNew lint: precedence, see issue #41
llogiq [Wed, 6 May 2015 10:59:08 +0000 (12:59 +0200)]
New lint: precedence, see issue #41

9 years agoMerge pull request #47 from Manishearth/float_cmp
Manish Goregaokar [Wed, 6 May 2015 08:07:55 +0000 (13:37 +0530)]
Merge pull request #47 from Manishearth/float_cmp

Added new 'float_cmp' lint (see issue #46)

9 years agoAdded new 'float_cmp' lint (see issue #46)
llogiq [Wed, 6 May 2015 08:01:49 +0000 (10:01 +0200)]
Added new 'float_cmp' lint (see issue #46)

9 years agoMerge pull request #44 from Manishearth/cmp_nan
llogiq [Mon, 4 May 2015 12:14:13 +0000 (14:14 +0200)]
Merge pull request #44 from Manishearth/cmp_nan

new lint to check for doomed comparisons to NAN

9 years agonew lint to check for doomed comparisons to NAN
llogiq [Mon, 4 May 2015 12:11:15 +0000 (14:11 +0200)]
new lint to check for doomed comparisons to NAN

9 years agoMerge pull request #43 from Manishearth/approx_const
llogiq [Mon, 4 May 2015 10:51:57 +0000 (12:51 +0200)]
Merge pull request #43 from Manishearth/approx_const

New lint: approx_const

9 years agoNew lint: approx_const
llogiq [Mon, 4 May 2015 10:01:34 +0000 (12:01 +0200)]
New lint: approx_const

9 years agoAdded &String matching and renamed to vec_ptr_arg to ptr_arg, also added README section
llogiq [Mon, 4 May 2015 06:15:24 +0000 (08:15 +0200)]
Added &String matching and renamed to vec_ptr_arg to ptr_arg, also added README section

9 years agoAdded check for zero bitmask and uncommon directions, wrong comment in needless_bool...
llogiq [Mon, 4 May 2015 05:17:15 +0000 (07:17 +0200)]
Added check for zero bitmask and uncommon directions, wrong comment in needless_bool corrected, added new lint vec_ptr_arg + test

9 years agonew lint: needless_bool (TODO: The warnings could give more specific directions)
llogiq [Fri, 1 May 2015 22:35:49 +0000 (00:35 +0200)]
new lint: needless_bool (TODO: The warnings could give more specific directions)

9 years agoAdded constant lookup (with help from Manish) to bad_bit_mask
llogiq [Thu, 30 Apr 2015 13:17:06 +0000 (15:17 +0200)]
Added constant lookup (with help from Manish) to bad_bit_mask

9 years agoMerge pull request #34 from llogiq/master
Manish Goregaokar [Thu, 30 Apr 2015 10:31:46 +0000 (16:01 +0530)]
Merge pull request #34 from llogiq/master

Merge extra_lints

9 years agoAdded eq_op and bad_bit_mask from the extra_lints project (mostly plain copy, need...
llogiq [Thu, 30 Apr 2015 09:48:43 +0000 (11:48 +0200)]
Added eq_op and bad_bit_mask from the extra_lints project (mostly plain copy, need to refactor to integrate better)

9 years agorustup (rustc 1.0.0-nightly (00978a987 2015-04-18) (built 2015-04-19))
Manish Goregaokar [Mon, 20 Apr 2015 10:48:35 +0000 (16:18 +0530)]
rustup (rustc 1.0.0-nightly (00978a987 2015-04-18) (built 2015-04-19))

9 years agotravisify
Manish Goregaokar [Mon, 13 Apr 2015 18:51:16 +0000 (00:21 +0530)]
travisify

9 years agoUse compiletest
Manish Goregaokar [Mon, 13 Apr 2015 17:58:18 +0000 (23:28 +0530)]
Use compiletest

9 years agorustup
Manish Goregaokar [Mon, 13 Apr 2015 17:44:45 +0000 (23:14 +0530)]
rustup

9 years agoRustup
Manish Goregaokar [Mon, 2 Mar 2015 10:43:44 +0000 (16:13 +0530)]
Rustup

9 years ago-warnings
Manish Goregaokar [Wed, 18 Feb 2015 12:24:22 +0000 (17:54 +0530)]
-warnings

9 years agorustup (fixes #28)
Manish Goregaokar [Sat, 10 Jan 2015 06:26:58 +0000 (11:56 +0530)]
rustup (fixes #28)

9 years agointo_string() -> to_owned() (fix #27)
Manish Goregaokar [Sat, 10 Jan 2015 05:22:03 +0000 (10:52 +0530)]
into_string() -> to_owned() (fix #27)

9 years agorustup
Manish Goregaokar [Wed, 7 Jan 2015 04:05:34 +0000 (09:35 +0530)]
rustup

9 years agomore readme
Manish Goregaokar [Sun, 28 Dec 2014 14:42:48 +0000 (20:12 +0530)]
more readme

9 years agorust_clippy -> clippy
Manish Goregaokar [Fri, 26 Dec 2014 00:00:03 +0000 (05:30 +0530)]
rust_clippy -> clippy

9 years agoRemove namespacing
Manish Goregaokar [Thu, 25 Dec 2014 23:54:44 +0000 (05:24 +0530)]
Remove namespacing

9 years agoclippy lint group
Manish Goregaokar [Thu, 25 Dec 2014 23:42:05 +0000 (05:12 +0530)]
clippy lint group

9 years agomore rustup
Manish Goregaokar [Thu, 25 Dec 2014 23:22:18 +0000 (04:52 +0530)]
more rustup

9 years agoMerge branch 'master' of github.com:Manishearth/rust-clippy
Manish Goregaokar [Thu, 25 Dec 2014 23:21:14 +0000 (04:51 +0530)]
Merge branch 'master' of github.com:Manishearth/rust-clippy

9 years agorustup (MatchSource rename, missing copy)
Manish Goregaokar [Thu, 25 Dec 2014 23:04:49 +0000 (04:34 +0530)]
rustup (MatchSource rename, missing copy)

9 years agoMerge pull request #26 from Twisol/lint-toplevel-ref-arg-example
Manish Goregaokar [Thu, 25 Dec 2014 15:23:33 +0000 (20:53 +0530)]
Merge pull request #26 from Twisol/lint-toplevel-ref-arg-example

Add an example of the toplevel_ref_arg lint.

9 years agoUpdate README.md for `clippy_toplevel_ref_arg`.
Jonathan Castello [Thu, 25 Dec 2014 02:37:50 +0000 (18:37 -0800)]
Update README.md for `clippy_toplevel_ref_arg`.

9 years agoAdd an example of the toplevel_ref_arg lint.
Jonathan Castello [Thu, 25 Dec 2014 01:48:03 +0000 (17:48 -0800)]
Add an example of the toplevel_ref_arg lint.

9 years agoMerge pull request #25 from Twisol/lint-toplevel-ref-arg
Manish Goregaokar [Thu, 25 Dec 2014 00:12:37 +0000 (05:42 +0530)]
Merge pull request #25 from Twisol/lint-toplevel-ref-arg

Check for args like `fn foo(ref x: u8)`, where the `ref` is useless

9 years agoImplement a lint to check for args like `fn foo(ref x: u8)`, as the `ref` is effectiv...
Jonathan Castello [Wed, 24 Dec 2014 23:15:22 +0000 (15:15 -0800)]
Implement a lint to check for args like `fn foo(ref x: u8)`, as the `ref` is effectively ignored by rustc.

9 years agodylib
Manish Goregaokar [Wed, 24 Dec 2014 23:13:56 +0000 (04:43 +0530)]
dylib

9 years agorustup
Manish Goregaokar [Fri, 19 Dec 2014 09:11:00 +0000 (14:41 +0530)]
rustup

9 years agoAdd seanmonstar's StrToString lint
Manish Goregaokar [Mon, 15 Dec 2014 14:53:45 +0000 (20:23 +0530)]
Add seanmonstar's StrToString lint

9 years agorm if_let gate
Manish Goregaokar [Wed, 10 Dec 2014 21:34:58 +0000 (03:04 +0530)]
rm if_let gate