]> git.lizzy.rs Git - rust.git/log
rust.git
7 years agoAdd to docs for if_let_some_result
Gibson Fahnestock [Mon, 31 Oct 2016 22:55:22 +0000 (22:55 +0000)]
Add to docs for if_let_some_result

7 years agoMerge pull request #1307 from Kha/partialeq_ne
Oliver Schneider [Mon, 31 Oct 2016 13:06:14 +0000 (09:06 -0400)]
Merge pull request #1307 from Kha/partialeq_ne

Implement 'Re-implementing `PartialEq::ne`' lint

7 years agoinspector: fix printing non-local trait refs
Sebastian Ullrich [Sun, 30 Oct 2016 15:43:19 +0000 (11:43 -0400)]
inspector: fix printing non-local trait refs

7 years agoimplement 'Re-implementing `PartialEq::ne`' lint
Sebastian Ullrich [Sun, 30 Oct 2016 01:33:57 +0000 (21:33 -0400)]
implement 'Re-implementing `PartialEq::ne`' lint

closes #86

7 years agoMerge pull request #1299 from Manishearth/clippy-toml
Oliver Schneider [Sun, 30 Oct 2016 18:35:32 +0000 (14:35 -0400)]
Merge pull request #1299 from Manishearth/clippy-toml

Search for `clippy.toml` recursively

7 years agoMerge pull request #1296 from Manishearth/features
Oliver Schneider [Sun, 30 Oct 2016 18:33:40 +0000 (14:33 -0400)]
Merge pull request #1296 from Manishearth/features

Be more helping, less helpful and bring convenience back for the dead

7 years agofix `dogfood.sh`
Sebastian Ullrich [Sun, 30 Oct 2016 01:14:20 +0000 (21:14 -0400)]
fix `dogfood.sh`

7 years agofactor out `is_automatically_derived` util fn
Sebastian Ullrich [Sun, 30 Oct 2016 01:13:41 +0000 (21:13 -0400)]
factor out `is_automatically_derived` util fn

7 years agoMerge pull request #1305 from d-dorazio/1289-lint-for-ignored-argument-in-result...
Oliver Schneider [Sun, 30 Oct 2016 18:20:54 +0000 (14:20 -0400)]
Merge pull request #1305 from d-dorazio/1289-lint-for-ignored-argument-in-result-option

Add lint for redundant pattern matching in if let for Result/Option

7 years agoAdd lint for redundant pattern matching in iflet for Result/Option
d-dorazio [Sat, 29 Oct 2016 16:56:12 +0000 (18:56 +0200)]
Add lint for redundant pattern matching in iflet for Result/Option

7 years agoMerge pull request #1301 from devonhollowood/wrong-self-convention-fix
Martin Carton [Thu, 27 Oct 2016 08:38:15 +0000 (10:38 +0200)]
Merge pull request #1301 from devonhollowood/wrong-self-convention-fix

Fix false positive for `wrong_self_convention`

7 years agoFix false positive for `wrong_self_convention`
Devon Hollowood [Thu, 27 Oct 2016 08:11:34 +0000 (01:11 -0700)]
Fix false positive for `wrong_self_convention`

7 years agoSearch for `clippy.toml` recursively
mcarton [Tue, 25 Oct 2016 17:41:24 +0000 (19:41 +0200)]
Search for `clippy.toml` recursively

7 years agoFix small nits on the help message
mcarton [Tue, 25 Oct 2016 13:09:56 +0000 (15:09 +0200)]
Fix small nits on the help message

7 years agoMerge pull request #1297 from oli-obk/deep_code_inspection
Martin Carton [Mon, 24 Oct 2016 15:49:10 +0000 (17:49 +0200)]
Merge pull request #1297 from oli-obk/deep_code_inspection

fix some doc issues for clippy_dump

7 years agoclean up docs for clippy_dump
Oliver Schneider [Mon, 24 Oct 2016 14:30:22 +0000 (16:30 +0200)]
clean up docs for clippy_dump

7 years agoAllow `--help` to be any argument
mcarton [Mon, 24 Oct 2016 14:29:36 +0000 (16:29 +0200)]
Allow `--help` to be any argument

Also dogfoog.

7 years agoRevert "Revert "Automatically defines the `clippy` feature""
mcarton [Mon, 24 Oct 2016 14:04:00 +0000 (16:04 +0200)]
Revert "Revert "Automatically defines the `clippy` feature""

This reverts commit e4dceef7e79c96c4ddeffd59a2c532bd239f98a6.

7 years agoproperly name the docs
Oliver Schneider [Mon, 24 Oct 2016 13:43:37 +0000 (15:43 +0200)]
properly name the docs

7 years agoBe more helping with `cargo clippy --help`
mcarton [Mon, 24 Oct 2016 13:31:11 +0000 (15:31 +0200)]
Be more helping with `cargo clippy --help`

7 years agoMerge pull request #1284 from oli-obk/deep_code_inspection
Oliver Schneider [Mon, 24 Oct 2016 13:29:54 +0000 (15:29 +0200)]
Merge pull request #1284 from oli-obk/deep_code_inspection

initial implementation of the code inspector lint

7 years agodogfood
Oliver Schneider [Mon, 24 Oct 2016 13:16:21 +0000 (15:16 +0200)]
dogfood

7 years agofactor out decl dumping
Oliver Schneider [Mon, 24 Oct 2016 12:29:09 +0000 (14:29 +0200)]
factor out decl dumping

7 years agoadd expression and pattern dump
Oliver Schneider [Mon, 24 Oct 2016 12:28:58 +0000 (14:28 +0200)]
add expression and pattern dump

7 years agoMerge branch 'master' of github.com:Manishearth/rust-clippy into deep_code_inspection
Oliver Schneider [Mon, 24 Oct 2016 08:39:19 +0000 (10:39 +0200)]
Merge branch 'master' of github.com:Manishearth/rust-clippy into deep_code_inspection

7 years agoMerge pull request #1288 from Arnavion/fix-1247
Oliver Schneider [Mon, 24 Oct 2016 07:25:52 +0000 (09:25 +0200)]
Merge pull request #1288 from Arnavion/fix-1247

Don't assume the first package in the result of `cargo metadata` is the current crate.

7 years agoUse .expect() for extracting the current_dir.
Arnavion [Sun, 23 Oct 2016 19:29:33 +0000 (12:29 -0700)]
Use .expect() for extracting the current_dir.

7 years agoChanged signature of cargo::metadata according to review comment.
Arnavion [Sun, 23 Oct 2016 19:24:16 +0000 (12:24 -0700)]
Changed signature of cargo::metadata according to review comment.

7 years agoDon't assume the first package in the result of `cargo metadata` is the current crate.
Arnavion [Sun, 23 Oct 2016 01:15:42 +0000 (18:15 -0700)]
Don't assume the first package in the result of `cargo metadata` is the current crate.

Instead find the one with the manifest path that matches the --manifest-path argument or the current directory.

Fixes #1247

7 years agoForbid default warnings in dogfood
mcarton [Sat, 22 Oct 2016 14:16:55 +0000 (16:16 +0200)]
Forbid default warnings in dogfood

7 years agoFix unused import warning
mcarton [Sat, 22 Oct 2016 14:16:38 +0000 (16:16 +0200)]
Fix unused import warning

7 years agoMerge pull request #1287 from Manishearth/rustup
Martin Carton [Sat, 22 Oct 2016 14:10:18 +0000 (16:10 +0200)]
Merge pull request #1287 from Manishearth/rustup

Rustup to *rustc 1.14.0-nightly (f09420685 2016-10-20)* and bump to 0.0.96

7 years agoBump to 0.0.96
mcarton [Sat, 22 Oct 2016 14:00:17 +0000 (16:00 +0200)]
Bump to 0.0.96

7 years agoRustup to *rustc 1.14.0-nightly (f09420685 2016-10-20)*
mcarton [Sat, 22 Oct 2016 13:57:19 +0000 (15:57 +0200)]
Rustup to *rustc 1.14.0-nightly (f09420685 2016-10-20)*

7 years agorename inspection attribute to `clippy_dump`
Oliver Schneider [Tue, 18 Oct 2016 15:29:01 +0000 (17:29 +0200)]
rename inspection attribute to `clippy_dump`

7 years agoinitial implementation of the code inspector lint
Oliver Schneider [Tue, 18 Oct 2016 14:57:39 +0000 (16:57 +0200)]
initial implementation of the code inspector lint

7 years agoRemove the now stable `#[feature(question_mark)]`
mcarton [Sun, 16 Oct 2016 12:01:55 +0000 (14:01 +0200)]
Remove the now stable `#[feature(question_mark)]`

7 years agoMerge pull request #1278 from d-dorazio/1112
Manish Goregaokar [Fri, 14 Oct 2016 12:20:51 +0000 (17:50 +0530)]
Merge pull request #1278 from d-dorazio/1112

Suggest `nth(X)` instead of `skip(X).next()`

7 years agoSuggest `nth(X)` instead of `skip(X).next()`
d-dorazio [Fri, 14 Oct 2016 11:35:25 +0000 (13:35 +0200)]
Suggest `nth(X)` instead of `skip(X).next()`

7 years agodoc_markdown: Added "iOS" and "macOS" to the doc-valid-idents list
Patrick Horlebein [Wed, 12 Oct 2016 13:22:21 +0000 (15:22 +0200)]
doc_markdown: Added "iOS" and "macOS" to the doc-valid-idents list

7 years agoTest for #1275
mcarton [Wed, 12 Oct 2016 10:00:26 +0000 (12:00 +0200)]
Test for #1275

Close #1275.

7 years agoMerge pull request #1273 from d-dorazio/1272
Martin Carton [Sat, 8 Oct 2016 16:07:05 +0000 (18:07 +0200)]
Merge pull request #1273 from d-dorazio/1272

Avoid redundant multiple pattern suggested when one pattern is _

7 years agoAvoid redundant multiple pattern suggested when one pattern is _
d-dorazio [Sat, 8 Oct 2016 13:16:00 +0000 (15:16 +0200)]
Avoid redundant multiple pattern suggested when one pattern is _

7 years agoMerge pull request #1268 from Manishearth/1265
llogiq [Thu, 6 Oct 2016 21:21:52 +0000 (23:21 +0200)]
Merge pull request #1268 from Manishearth/1265

Fix FP with `print_with_newline` and final arguments

7 years agoFix FP with `print_with_newline` and final arguments
mcarton [Thu, 6 Oct 2016 20:30:03 +0000 (22:30 +0200)]
Fix FP with `print_with_newline` and final arguments

7 years agoBump to 0.0.95
mcarton [Thu, 6 Oct 2016 15:52:41 +0000 (17:52 +0200)]
Bump to 0.0.95

7 years agoFix dogfood problem
mcarton [Thu, 6 Oct 2016 15:50:11 +0000 (17:50 +0200)]
Fix dogfood problem

7 years agoRustup to *rustc 1.14.0-nightly (3210fd5c2 2016-10-05)*
mcarton [Thu, 6 Oct 2016 15:46:50 +0000 (17:46 +0200)]
Rustup to *rustc 1.14.0-nightly (3210fd5c2 2016-10-05)*

7 years agoMerge pull request #1257 from KitFreddura/master
Martin Carton [Tue, 4 Oct 2016 21:00:05 +0000 (23:00 +0200)]
Merge pull request #1257 from KitFreddura/master

If let some lint

7 years agoMerge pull request #1262 from Manishearth/rustup
Manish Goregaokar [Tue, 4 Oct 2016 15:34:20 +0000 (21:04 +0530)]
Merge pull request #1262 from Manishearth/rustup

Remove warning in the latest nightly

7 years agoRemove warning in the lastest nightly
mcarton [Tue, 4 Oct 2016 15:17:40 +0000 (17:17 +0200)]
Remove warning in the lastest nightly

7 years agoBump to 0.0.94
Manish Goregaokar [Tue, 4 Oct 2016 03:47:09 +0000 (09:17 +0530)]
Bump to 0.0.94

7 years agoaux -> auxiliary (breaks Windows)
Manish Goregaokar [Tue, 4 Oct 2016 03:45:03 +0000 (09:15 +0530)]
aux -> auxiliary (breaks Windows)

7 years agoMerge pull request #1246 from Manishearth/rustup
Martin Carton [Mon, 3 Oct 2016 19:33:08 +0000 (21:33 +0200)]
Merge pull request #1246 from Manishearth/rustup

Rustup to *rustc 1.14.0-nightly (144af3e97 2016-10-02)* and bump to 0.0.93

7 years agoBump to 0.0.93
mcarton [Mon, 3 Oct 2016 19:26:25 +0000 (21:26 +0200)]
Bump to 0.0.93

7 years agoRustup to *rustc 1.14.0-nightly (144af3e97 2016-10-02)*
mcarton [Fri, 30 Sep 2016 13:35:24 +0000 (15:35 +0200)]
Rustup to *rustc 1.14.0-nightly (144af3e97 2016-10-02)*

7 years agoMerge pull request #1255 from Manishearth/cov
Manish Goregaokar [Mon, 3 Oct 2016 16:45:23 +0000 (22:15 +0530)]
Merge pull request #1255 from Manishearth/cov

Improve test coverage

7 years agoMove all `*.toml` test files to `tests/aux`
mcarton [Mon, 3 Oct 2016 15:49:41 +0000 (17:49 +0200)]
Move all `*.toml` test files to `tests/aux`

7 years agoImprove the coverage script
mcarton [Mon, 3 Oct 2016 15:49:05 +0000 (17:49 +0200)]
Improve the coverage script

7 years agoMerge pull request #1256 from Manishearth/allow_map_or
Martin Carton [Mon, 3 Oct 2016 09:32:23 +0000 (11:32 +0200)]
Merge pull request #1256 from Manishearth/allow_map_or

Allow option_map_unwrap_or(_else)

7 years agoadded changelog entry
Andre Bogus [Mon, 3 Oct 2016 06:15:29 +0000 (08:15 +0200)]
added changelog entry

7 years agoreplaced snippet_opt with snippet for more terse code
Kit Freddura [Sun, 2 Oct 2016 21:38:31 +0000 (14:38 -0700)]
replaced snippet_opt with snippet for more terse code

7 years agofixed array bounds checking
Kit Freddura [Sun, 2 Oct 2016 21:26:41 +0000 (14:26 -0700)]
fixed array bounds checking

7 years agoran update
Kit Freddura [Sun, 2 Oct 2016 21:17:22 +0000 (14:17 -0700)]
ran update

7 years agoreplaced pat_to_string with snippet
Kit Freddura [Sun, 2 Oct 2016 21:15:24 +0000 (14:15 -0700)]
replaced pat_to_string with snippet

7 years agofixed struct elison
Kit Freddura [Sun, 2 Oct 2016 20:53:10 +0000 (13:53 -0700)]
fixed struct elison

7 years agoreadded files
Kit Freddura [Sun, 2 Oct 2016 20:49:29 +0000 (13:49 -0700)]
readded files

7 years agoadded file again
Kit Freddura [Sun, 2 Oct 2016 20:48:52 +0000 (13:48 -0700)]
added file again

7 years agoupdated zero_div_zero.rs
Kit Freddura [Sun, 2 Oct 2016 20:44:23 +0000 (13:44 -0700)]
updated zero_div_zero.rs

7 years agoran update
Kit Freddura [Sun, 2 Oct 2016 20:42:11 +0000 (13:42 -0700)]
ran update

7 years agoremoved formatting changes
Kit Freddura [Sun, 2 Oct 2016 20:39:28 +0000 (13:39 -0700)]
removed formatting changes

7 years agoAllow option_map_unwrap_or(_else)
Andre Bogus [Sun, 2 Oct 2016 19:23:26 +0000 (21:23 +0200)]
Allow option_map_unwrap_or(_else)

This fixes #1192.

7 years agoAdd a script to run `kcov`
mcarton [Sun, 2 Oct 2016 13:12:12 +0000 (15:12 +0200)]
Add a script to run `kcov`

7 years agoTest configuration file typing errors
mcarton [Sun, 2 Oct 2016 12:46:46 +0000 (14:46 +0200)]
Test configuration file typing errors

7 years agoAdd more tests for bad configuration file
mcarton [Sun, 2 Oct 2016 12:43:09 +0000 (14:43 +0200)]
Add more tests for bad configuration file

7 years agoAdd missing tests for `...` and array indexing
mcarton [Sun, 2 Oct 2016 12:42:55 +0000 (14:42 +0200)]
Add missing tests for `...` and array indexing

7 years agoFix slightly wrong comment
mcarton [Sun, 2 Oct 2016 12:30:05 +0000 (14:30 +0200)]
Fix slightly wrong comment

7 years agoRemove a useless method
mcarton [Sun, 2 Oct 2016 00:47:23 +0000 (02:47 +0200)]
Remove a useless method

7 years agoAdd a test for a `shadow` corner case
mcarton [Sun, 2 Oct 2016 00:38:26 +0000 (02:38 +0200)]
Add a test for a `shadow` corner case

7 years agoPartially hash `let` declaration in `SpanlessHash`
mcarton [Sun, 2 Oct 2016 00:17:04 +0000 (02:17 +0200)]
Partially hash `let` declaration in `SpanlessHash`

The hash never needs to be good but before it was simply doing nothing
for these.

7 years agoImprove test coverage of `hir` comparison
mcarton [Sat, 1 Oct 2016 20:27:10 +0000 (22:27 +0200)]
Improve test coverage of `hir` comparison

7 years agoSupport `ExprType` (type ascription) comparison
mcarton [Sat, 1 Oct 2016 20:26:19 +0000 (22:26 +0200)]
Support `ExprType` (type ascription) comparison

*ish

7 years agoImplement more `hir` typed node comparison
mcarton [Sat, 1 Oct 2016 20:18:17 +0000 (22:18 +0200)]
Implement more `hir` typed node comparison

7 years agoMerge pull request #1250 from elliottneilclark/explicit_into_iter
Martin Carton [Sat, 1 Oct 2016 13:01:43 +0000 (15:01 +0200)]
Merge pull request #1250 from elliottneilclark/explicit_into_iter

Add a lint to warn about un-necessary .into_iter()

7 years agoUpdate changelog
mcarton [Sat, 1 Oct 2016 12:53:31 +0000 (14:53 +0200)]
Update changelog

7 years agoMerge pull request #1251 from Manishearth/fix_diverging_sub_expr
Martin Carton [Sat, 1 Oct 2016 12:49:38 +0000 (14:49 +0200)]
Merge pull request #1251 from Manishearth/fix_diverging_sub_expr

correctly traverse match expressions for diverging_sub_expr

7 years agocorrectly traverse match expressions for diverging_sub_expr
Oliver Schneider [Sat, 1 Oct 2016 12:41:20 +0000 (14:41 +0200)]
correctly traverse match expressions for diverging_sub_expr

7 years agoRun util/update_lints.py after adding explicit_into_iter_loop
Elliott Clark [Sat, 1 Oct 2016 00:50:02 +0000 (17:50 -0700)]
Run util/update_lints.py after adding explicit_into_iter_loop

7 years agoAdd a lint to warn about un-necessary .into_iter()
Elliott Clark [Sat, 1 Oct 2016 00:01:30 +0000 (17:01 -0700)]
Add a lint to warn about un-necessary .into_iter()

This should close #1094.

7 years agochmod -x tests/compile-fail/print_with_newline.rs
mcarton [Fri, 30 Sep 2016 22:50:40 +0000 (00:50 +0200)]
chmod -x tests/compile-fail/print_with_newline.rs

7 years agoMove `set -e` of travis down
mcarton [Fri, 30 Sep 2016 22:38:01 +0000 (00:38 +0200)]
Move `set -e` of travis down

We really can continue to build when the first two commands fail.

7 years agoMerge pull request #1248 from Manishearth/rustup2
Martin Carton [Fri, 30 Sep 2016 20:13:22 +0000 (22:13 +0200)]
Merge pull request #1248 from Manishearth/rustup2

Rustup to *rustc 1.14.0-nightly (289f3a4ca 2016-09-29)* and bump to 0.0.92

7 years agoBump to 0.0.92
mcarton [Fri, 30 Sep 2016 20:06:51 +0000 (22:06 +0200)]
Bump to 0.0.92

7 years agoRustup to *rustc 1.14.0-nightly (289f3a4ca 2016-09-29)*
mcarton [Fri, 30 Sep 2016 13:33:24 +0000 (15:33 +0200)]
Rustup to *rustc 1.14.0-nightly (289f3a4ca 2016-09-29)*

7 years agoMerge pull request #1237 from Manishearth/rustup
Martin Carton [Tue, 27 Sep 2016 23:15:33 +0000 (01:15 +0200)]
Merge pull request #1237 from Manishearth/rustup

Rustup to *rustc 1.13.0-nightly (d0623cf7b 2016-09-26)* and bump to 0.0.91

7 years agoBump to 0.0.91
mcarton [Tue, 27 Sep 2016 23:10:38 +0000 (01:10 +0200)]
Bump to 0.0.91

7 years agoRustup to *rustc 1.13.0-nightly (d0623cf7b 2016-09-26)*
mcarton [Thu, 22 Sep 2016 00:51:12 +0000 (02:51 +0200)]
Rustup to *rustc 1.13.0-nightly (d0623cf7b 2016-09-26)*

7 years agoMerge pull request #1240 from Manishearth/compiletest
Martin Carton [Fri, 23 Sep 2016 17:58:43 +0000 (19:58 +0200)]
Merge pull request #1240 from Manishearth/compiletest

Remove redundant labels in tests

7 years agoRemove redundant labels in tests
mcarton [Fri, 23 Sep 2016 17:51:32 +0000 (19:51 +0200)]
Remove redundant labels in tests

7 years agoMerge pull request #1235 from Manishearth/transmute_ptr_to_ref-suggs
Manish Goregaokar [Mon, 19 Sep 2016 16:32:47 +0000 (22:02 +0530)]
Merge pull request #1235 from Manishearth/transmute_ptr_to_ref-suggs

Fix wrong suggestion in `TRANSMUTE_PTR_TO_REF` with lts