]>
git.lizzy.rs Git - rust.git/log
llogiq [Fri, 5 Feb 2016 16:33:37 +0000 (17:33 +0100)]
Merge branch 'master' into regex_syntax
llogiq [Fri, 5 Feb 2016 15:48:35 +0000 (16:48 +0100)]
fixed span position and README
llogiq [Fri, 5 Feb 2016 11:15:08 +0000 (12:15 +0100)]
Merge pull request #621 from Manishearth/double-ref
Lint on cloning double pointer
Manish Goregaokar [Fri, 5 Feb 2016 10:34:59 +0000 (16:04 +0530)]
Test for double-ref lint
Manish Goregaokar [Fri, 5 Feb 2016 10:34:15 +0000 (16:04 +0530)]
Lint on cloning double pointer
fixes #620
llogiq [Thu, 4 Feb 2016 23:36:06 +0000 (00:36 +0100)]
new regex syntax lint, fixes #597
Manish Goregaokar [Wed, 3 Feb 2016 14:40:52 +0000 (20:10 +0530)]
Merge pull request #614 from mcarton/#604
Fix confusing message for `STRING_TO_STRING`
mcarton [Wed, 3 Feb 2016 12:42:46 +0000 (13:42 +0100)]
Fix confusing message for STRING_TO_STRING
Manish Goregaokar [Tue, 2 Feb 2016 21:56:51 +0000 (03:26 +0530)]
Merge branch 'pr-593'
Conflicts:
README.md
src/lib.rs
Manish Goregaokar [Tue, 2 Feb 2016 21:48:00 +0000 (03:18 +0530)]
Merge pull request #602 from mcarton/#594
Add a lint about using `clone` on `Copy` types
mcarton [Tue, 2 Feb 2016 21:35:01 +0000 (22:35 +0100)]
Add a lint about using `clone` on `Copy` types
mcarton [Sat, 30 Jan 2016 13:01:26 +0000 (14:01 +0100)]
Fix warnings about the rustfmt_skip attribute
mcarton [Sat, 30 Jan 2016 12:48:39 +0000 (13:48 +0100)]
Partially apply rustfmt
mcarton [Sat, 30 Jan 2016 12:39:16 +0000 (13:39 +0100)]
Restore some of rustfmt madness
llogiq [Tue, 2 Feb 2016 20:47:58 +0000 (21:47 +0100)]
Merge pull request #612 from inrustwetrust/drop_ref_lint
Fix typo in drop_ref lint description.
inrustwetrust [Tue, 2 Feb 2016 19:38:14 +0000 (20:38 +0100)]
Fix typo in drop_ref lint description.
llogiq [Tue, 2 Feb 2016 19:27:53 +0000 (20:27 +0100)]
Merge pull request #610 from inrustwetrust/drop_ref_lint
Add lint to warn for calls to `std::mem::drop` with a reference argument
inrustwetrust [Mon, 1 Feb 2016 18:53:03 +0000 (19:53 +0100)]
Add lint to warn for calls to `std::mem::drop` with a reference argument
Manish Goregaokar [Mon, 1 Feb 2016 20:34:34 +0000 (02:04 +0530)]
Merge pull request #611 from Manishearth/fix-606
fixed #606
llogiq [Mon, 1 Feb 2016 19:37:07 +0000 (20:37 +0100)]
fixed #606
llogiq [Mon, 1 Feb 2016 19:36:18 +0000 (20:36 +0100)]
Merge pull request #609 from oli-obk/prefixed_enum_variants
lint against enums where all variants share a prefix/postfix
llogiq [Mon, 1 Feb 2016 12:04:46 +0000 (13:04 +0100)]
Merge pull request #608 from sanxiyn/escape-closure-arg
Skip escape analysis for closure arguments
Oliver Schneider [Mon, 1 Feb 2016 11:51:33 +0000 (12:51 +0100)]
fallout
Oliver Schneider [Mon, 1 Feb 2016 11:47:31 +0000 (12:47 +0100)]
add lint to check for enums where all variants have the same pre-/postfix
Seo Sanghyeon [Mon, 1 Feb 2016 11:35:01 +0000 (20:35 +0900)]
Skip escape analysis for closure arguments
Manish Goregaokar [Mon, 1 Feb 2016 11:00:03 +0000 (16:30 +0530)]
Merge pull request #579 from oli-obk/single_match_else
Single match else
Oliver Schneider [Mon, 1 Feb 2016 10:28:39 +0000 (11:28 +0100)]
fallout
Oliver 'ker' Schneider [Sun, 24 Jan 2016 11:24:16 +0000 (12:24 +0100)]
lint on single match expressions with a value in the else path
Manish Goregaokar [Sun, 31 Jan 2016 23:38:43 +0000 (05:08 +0530)]
Merge pull request #607 from Manishearth/fix-528
fixed #528
llogiq [Sun, 31 Jan 2016 22:25:10 +0000 (23:25 +0100)]
fixed #528
scurest [Fri, 29 Jan 2016 06:39:13 +0000 (00:39 -0600)]
Add a lint to suggest uint == 0 over uint <= 0
llogiq [Sat, 30 Jan 2016 00:34:35 +0000 (01:34 +0100)]
Merge branch 'devonhollowood-for-loop-over-option'
Conflicts:
README.md
llogiq [Sat, 30 Jan 2016 00:28:53 +0000 (01:28 +0100)]
Merge pull request #599 from mcarton/lt
Fix false positive with NEEDLESS_LIFETIMES and some cleanup
Devon Hollowood [Fri, 29 Jan 2016 23:15:57 +0000 (15:15 -0800)]
Add for_loop_over_result lint
mcarton [Fri, 29 Jan 2016 21:49:48 +0000 (22:49 +0100)]
Fix formatting on wiki
mcarton [Fri, 29 Jan 2016 21:42:19 +0000 (22:42 +0100)]
Synchronise comments with wiki
Wiki commits
bfa439b and
9b8ced8 .
mcarton [Fri, 29 Jan 2016 21:24:08 +0000 (22:24 +0100)]
Make the python scripts py3 and pep8 compatible
mcarton [Fri, 29 Jan 2016 21:19:14 +0000 (22:19 +0100)]
Small cleanup
mcarton [Fri, 29 Jan 2016 21:18:14 +0000 (22:18 +0100)]
Fix false positive in NEEDLESS_LIFETIMES
llogiq [Fri, 29 Jan 2016 18:50:18 +0000 (19:50 +0100)]
Merge pull request #589 from mcarton/vec
Add a lint to warn about &vec![_] if &[_] would do
mcarton [Fri, 29 Jan 2016 00:54:10 +0000 (01:54 +0100)]
Add a lint to warn about &vec![_] if &[_] would do
Devon Hollowood [Fri, 29 Jan 2016 07:34:09 +0000 (23:34 -0800)]
Add for_loop_over_option lint
Manish Goregaokar [Thu, 28 Jan 2016 22:09:27 +0000 (03:39 +0530)]
Merge pull request #549 from mcarton/ifs
Remove and lint about useless braces in `else { if .. }`
llogiq [Thu, 28 Jan 2016 20:25:59 +0000 (21:25 +0100)]
Merge pull request #586 from mcarton/print
Add a lint to warn about use of `print{,ln}!`
mcarton [Thu, 28 Jan 2016 18:29:59 +0000 (19:29 +0100)]
Add a lint to warn about use of `print{,ln}!`
Manish Goregaokar [Wed, 27 Jan 2016 21:30:22 +0000 (03:00 +0530)]
Merge pull request #582 from Manishearth/extend
extend_from_slice lint
llogiq [Wed, 27 Jan 2016 21:22:43 +0000 (22:22 +0100)]
Merge master and re-run update_lints.py
Manish Goregaokar [Wed, 27 Jan 2016 20:22:30 +0000 (01:52 +0530)]
Merge pull request #585 from fhartwig/char-lit-as-u8
Add a lint for casts from char literals to u8
Florian Hartwig [Wed, 27 Jan 2016 20:10:35 +0000 (21:10 +0100)]
Point out that char is 32 bit value
Florian Hartwig [Wed, 27 Jan 2016 19:59:19 +0000 (20:59 +0100)]
Make update_lints script accept digits in lint names
Florian Hartwig [Wed, 27 Jan 2016 19:23:59 +0000 (20:23 +0100)]
Add a lint for casts from char literals to u8
llogiq [Wed, 27 Jan 2016 19:13:15 +0000 (20:13 +0100)]
fixed and extended tests
llogiq [Wed, 27 Jan 2016 13:51:30 +0000 (14:51 +0100)]
fixed suggestion for iter case
llogiq [Tue, 26 Jan 2016 22:51:06 +0000 (23:51 +0100)]
fixed argument check
llogiq [Mon, 25 Jan 2016 18:46:56 +0000 (19:46 +0100)]
added more test, now works with vecs and iter
llogiq [Mon, 25 Jan 2016 13:02:47 +0000 (14:02 +0100)]
extend_from_slice lint
llogiq [Sun, 24 Jan 2016 14:53:16 +0000 (15:53 +0100)]
Merge pull request #580 from mcarton/derive
Lint explicit Clone implementations on Copy type
mcarton [Sun, 24 Jan 2016 12:56:23 +0000 (13:56 +0100)]
Lint explicit Clone implementations on Copy type
Manish Goregaokar [Sun, 24 Jan 2016 09:23:34 +0000 (14:53 +0530)]
Merge pull request #577 from oli-obk/items_after_statements
lint on items following statements
Oliver 'ker' Schneider [Sun, 24 Jan 2016 09:16:56 +0000 (10:16 +0100)]
lint on items following statements
Manish Goregaokar [Fri, 22 Jan 2016 13:09:40 +0000 (18:39 +0530)]
un-wildcard stuff
Manish Goregaokar [Fri, 22 Jan 2016 13:06:23 +0000 (18:36 +0530)]
Merge branch 'rustup'
Manish Goregaokar [Fri, 22 Jan 2016 12:24:44 +0000 (17:54 +0530)]
Upgrade Rust to rustc 1.8.0-nightly (
18b851bc5 2016-01-22)
fixes #573
Manish Goregaokar [Fri, 22 Jan 2016 09:10:26 +0000 (14:40 +0530)]
Merge pull request #571 from mcarton/hash_eq
Add a lint about deriving Hash and implementing PartialEq
mcarton [Thu, 21 Jan 2016 17:19:02 +0000 (18:19 +0100)]
Add a lint about deriving Hash and implementing PartialEq
llogiq [Wed, 20 Jan 2016 19:15:10 +0000 (20:15 +0100)]
Merge pull request #566 from mcarton/starts_with
Add a lint for starts_with
mcarton [Wed, 20 Jan 2016 17:32:17 +0000 (18:32 +0100)]
Add macro checks in src/methods.rs lints
mcarton [Wed, 20 Jan 2016 01:23:39 +0000 (02:23 +0100)]
Add a lint for starts_with
llogiq [Wed, 20 Jan 2016 11:31:54 +0000 (12:31 +0100)]
Merge pull request #565 from mcarton/or_fun_call
Handle Entry types in OR_FUN_CALL lint
mcarton [Tue, 19 Jan 2016 23:53:26 +0000 (00:53 +0100)]
Handle Entry types in OR_FUN_CALL lint
llogiq [Tue, 19 Jan 2016 20:06:48 +0000 (21:06 +0100)]
Merge pull request #562 from fhartwig/str-lit-as-bytes
Add lint for "string literal".as_bytes()
Florian Hartwig [Tue, 19 Jan 2016 18:43:29 +0000 (19:43 +0100)]
Add macro check
Florian Hartwig [Tue, 19 Jan 2016 18:14:49 +0000 (19:14 +0100)]
Add lint for "string literal".as_bytes()
Manish Goregaokar [Tue, 19 Jan 2016 13:21:46 +0000 (18:51 +0530)]
Merge pull request #561 from fhartwig/deprecation-fix
Fix deprecation warning on latest nightly
Florian Hartwig [Tue, 19 Jan 2016 12:53:49 +0000 (13:53 +0100)]
Fix deprecation warning on latest nightly
llogiq [Mon, 18 Jan 2016 18:33:42 +0000 (19:33 +0100)]
Merge pull request #559 from mcarton/redundant_closure
Fix redundant_closure false positive
mcarton [Mon, 18 Jan 2016 18:28:06 +0000 (19:28 +0100)]
Fix redundant_closure false positive
llogiq [Mon, 18 Jan 2016 18:15:43 +0000 (19:15 +0100)]
Merge pull request #557 from mcarton/cmp_owned
Check types in the CMP_OWNED lint
mcarton [Mon, 18 Jan 2016 14:35:50 +0000 (15:35 +0100)]
Check types in the CMP_OWNED lint
Manish Goregaokar [Mon, 18 Jan 2016 13:28:00 +0000 (18:58 +0530)]
bump cargo
Manish Goregaokar [Mon, 18 Jan 2016 13:27:35 +0000 (18:57 +0530)]
Merge pull request #556 from mcarton/or_fun_call
New lint, new utility functions and nightly fix
mcarton [Mon, 18 Jan 2016 12:36:58 +0000 (13:36 +0100)]
Add a test for the OR_FUN_CALL lint
mcarton [Mon, 18 Jan 2016 12:27:42 +0000 (13:27 +0100)]
Update to rustc 1.7.0-nightly (
d0bac3f14 2016-01-18)
mcarton [Mon, 18 Jan 2016 12:11:07 +0000 (13:11 +0100)]
Improve OR_FUN_CALL to suggest unwrap_or_default
mcarton [Mon, 18 Jan 2016 12:10:13 +0000 (13:10 +0100)]
Add utility functions to check for trait impl
mcarton [Mon, 18 Jan 2016 12:09:46 +0000 (13:09 +0100)]
Fix spelling mistake
Manish Goregaokar [Sun, 17 Jan 2016 17:45:05 +0000 (23:15 +0530)]
Merge pull request #555 from fhartwig/elision-fix
Fix another false positive in lifetime elision lint
Florian Hartwig [Sun, 17 Jan 2016 16:53:41 +0000 (17:53 +0100)]
Fix another false positive in lifetime elision lint
The false positive occurred when we have an anonymous input lifetime and a
named output lifetime. This is not elidable, because if we elided the output
lifetime, it would be inferred to be the same as the input.
mcarton [Sat, 16 Jan 2016 17:47:45 +0000 (18:47 +0100)]
Add a lint to warn about call to `.*or(foo(..))`
llogiq [Fri, 15 Jan 2016 23:03:58 +0000 (00:03 +0100)]
Merge pull request #523 from sanxiyn/escape-arg
Extend escape analysis to arguments
llogiq [Fri, 15 Jan 2016 23:02:08 +0000 (00:02 +0100)]
Merge pull request #551 from fhartwig/unused-lifetimes-fix
Consider lifetime in self parameter in unused_lifetime lint
Manish Goregaokar [Thu, 14 Jan 2016 23:52:20 +0000 (05:22 +0530)]
Merge pull request #552 from mcarton/for_loop
Handle more iterator adapter cases in for loops
mcarton [Thu, 14 Jan 2016 20:04:34 +0000 (21:04 +0100)]
Add a test for #398
mcarton [Thu, 14 Jan 2016 19:58:32 +0000 (20:58 +0100)]
Handle more iterator adapter cases in for loops
Florian Hartwig [Thu, 14 Jan 2016 18:27:24 +0000 (19:27 +0100)]
Consider lifetime in self paramter in unused_lifetime lint
mcarton [Wed, 13 Jan 2016 17:32:55 +0000 (18:32 +0100)]
Lint about `else { if .. }` with useless braces
mcarton [Wed, 13 Jan 2016 17:32:05 +0000 (18:32 +0100)]
Remove useless curly braces in else { if .. }
Manish Goregaokar [Wed, 13 Jan 2016 16:34:44 +0000 (22:04 +0530)]
Merge pull request #548 from mcarton/fixes
Fix #433 and doc
mcarton [Wed, 13 Jan 2016 16:17:19 +0000 (17:17 +0100)]
Use span_suggestion in ENTRY lint
mcarton [Tue, 12 Jan 2016 22:17:54 +0000 (23:17 +0100)]
Cleanup utils, mostly doc