]>
git.lizzy.rs Git - rust.git/log
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
Manish Goregaokar [Sun, 7 Feb 2016 14:18:03 +0000 (19:48 +0530)]
Merge pull request #635 from mcarton/fix-wiki
Fix wiki
mcarton [Sun, 7 Feb 2016 14:14:12 +0000 (15:14 +0100)]
Fix wiki
Markdown is hell.
llogiq [Sun, 7 Feb 2016 13:48:13 +0000 (14:48 +0100)]
Merge pull request #603 from mcarton/copies
Die copy & paste, die
mcarton [Sun, 7 Feb 2016 13:40:45 +0000 (14:40 +0100)]
Small cleanup
mcarton [Fri, 5 Feb 2016 18:43:21 +0000 (19:43 +0100)]
Fix typo
mcarton [Wed, 3 Feb 2016 19:42:05 +0000 (20:42 +0100)]
Add `-` and `/` to EQ_OP
mcarton [Sat, 30 Jan 2016 19:10:14 +0000 (20:10 +0100)]
Improve is_exp_equal
mcarton [Sat, 30 Jan 2016 18:16:49 +0000 (19:16 +0100)]
Lint ifs with the same then and else blocks
mcarton [Sat, 30 Jan 2016 17:03:53 +0000 (18:03 +0100)]
Lint about consecutive ifs with same condition
Manish Goregaokar [Sun, 7 Feb 2016 12:10:48 +0000 (17:40 +0530)]
Merge branch 'pr-581'
Conflicts:
README.md
Manish Goregaokar [Sat, 6 Feb 2016 17:21:26 +0000 (22:51 +0530)]
Merge pull request #631 from mcarton/regex
Fix false negative in TRIVIAL_REGEX
mcarton [Sat, 6 Feb 2016 17:06:39 +0000 (18:06 +0100)]
Fix false negative in TRIVIAL_REGEX
Manish Goregaokar [Sat, 6 Feb 2016 06:44:03 +0000 (12:14 +0530)]
Merge pull request #623 from mcarton/redundant
Be more consistent in lint declarations
mcarton [Fri, 5 Feb 2016 23:42:55 +0000 (00:42 +0100)]
Update `update_wiki.py` to extract default lint level
mcarton [Fri, 5 Feb 2016 23:41:54 +0000 (00:41 +0100)]
Remove redundancy in lint documentation
The default level is always given in the declare_lint! macro, no need to
add it inconsistently in the documentation.
mcarton [Fri, 5 Feb 2016 23:13:29 +0000 (00:13 +0100)]
Fix util/update_wiki.py warnings and be consistent in declare_lint! invocations
Manish Goregaokar [Fri, 5 Feb 2016 22:57:35 +0000 (04:27 +0530)]
Merge pull request #622 from mcarton/regex
Lint about trivial regexes
mcarton [Fri, 5 Feb 2016 22:10:48 +0000 (23:10 +0100)]
Lint about trivial regexes
mcarton [Fri, 5 Feb 2016 20:54:29 +0000 (21:54 +0100)]
Fix case conventions
llogiq [Fri, 5 Feb 2016 19:42:39 +0000 (20:42 +0100)]
Merge pull request #564 from mcarton/hashmap
Lint looping on maps ignoring the keys or values
mcarton [Fri, 5 Feb 2016 18:46:11 +0000 (19:46 +0100)]
Improve error message
mcarton [Fri, 5 Feb 2016 18:14:02 +0000 (19:14 +0100)]
Check for pattern use in FOR_KV_MAP
mcarton [Tue, 19 Jan 2016 20:10:00 +0000 (21:10 +0100)]
Lint looping on maps ignoring the keys or values
Manish Goregaokar [Fri, 5 Feb 2016 17:04:20 +0000 (22:34 +0530)]
Merge pull request #619 from Manishearth/regex_syntax
new regex syntax lint
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`
Oliver Schneider [Wed, 3 Feb 2016 14:39:22 +0000 (15:39 +0100)]
fallout
Oliver Schneider [Wed, 3 Feb 2016 14:38:23 +0000 (15:38 +0100)]
warn on `use`ing all variants of an enum
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()