]> git.lizzy.rs Git - rust.git/log
rust.git
8 years agoAdd note on how to enable the optional dependency
Alberto Leal [Fri, 8 Jul 2016 00:36:49 +0000 (20:36 -0400)]
Add note on how to enable the optional dependency

8 years agoMerge pull request #1071 from dtolnay/javascript
llogiq [Thu, 7 Jul 2016 04:41:22 +0000 (06:41 +0200)]
Merge pull request #1071 from dtolnay/javascript

Add "JavaScript" to doc-valid-idents

8 years agoAdd "JavaScript" to doc-valid-idents
David Tolnay [Thu, 7 Jul 2016 04:27:29 +0000 (21:27 -0700)]
Add "JavaScript" to doc-valid-idents

8 years agoRemove useless feature attribute
mcarton [Wed, 6 Jul 2016 12:51:20 +0000 (14:51 +0200)]
Remove useless feature attribute

`iter_arith` has been stabilized in rustc 1.11.0.

8 years agoMerge pull request #1069 from oli-obk/lets_assume_dependencies_already_lint_clippy_fo...
llogiq [Mon, 4 Jul 2016 14:08:17 +0000 (16:08 +0200)]
Merge pull request #1069 from oli-obk/lets_assume_dependencies_already_lint_clippy_for_themselves

don't run clippy on dependencies when running cargo clippy

8 years agodon't run clippy on dependencies when running cargo clippy
Oliver Schneider [Mon, 4 Jul 2016 11:33:48 +0000 (13:33 +0200)]
don't run clippy on dependencies when running cargo clippy

8 years agoMerge pull request #1068 from AtheMathmo/useless_vec-constant-expr
Martin Carton [Sun, 3 Jul 2016 20:36:00 +0000 (22:36 +0200)]
Merge pull request #1068 from AtheMathmo/useless_vec-constant-expr

Check for constant expression in useless_vec lint

8 years agoCheck for constant expression in useless_vec lint
James Lucas [Sun, 3 Jul 2016 19:12:43 +0000 (12:12 -0700)]
Check for constant expression in useless_vec lint

8 years agoMerge pull request #1067 from Manishearth/pr-991
Manish Goregaokar [Sun, 3 Jul 2016 09:09:20 +0000 (14:39 +0530)]
Merge pull request #1067 from Manishearth/pr-991

Rebase #991

8 years agoMake #991 work with current rust
Manish Goregaokar [Sun, 3 Jul 2016 08:25:23 +0000 (13:55 +0530)]
Make #991 work with current rust

8 years agoImprove `NOT_UNSAFE_PTR_ARG_DEREF` with functions
mcarton [Tue, 7 Jun 2016 15:29:22 +0000 (17:29 +0200)]
Improve `NOT_UNSAFE_PTR_ARG_DEREF` with functions

8 years agoAdd a new `not_unsafe_ptr_arg_deref` lint
mcarton [Tue, 7 Jun 2016 14:55:55 +0000 (16:55 +0200)]
Add a new `not_unsafe_ptr_arg_deref` lint

8 years agoMerge pull request #1054 from Manishearth/rustup
Martin Carton [Sat, 2 Jul 2016 14:15:57 +0000 (16:15 +0200)]
Merge pull request #1054 from Manishearth/rustup

Rustup to ea0dc9297283daff6486807f43e190b4eb561412

8 years agoBump to 0.0.78
mcarton [Sat, 2 Jul 2016 14:02:27 +0000 (16:02 +0200)]
Bump to 0.0.78

8 years agoMerge pull request #1065 from mathstuf/doc-typos
Manish Goregaokar [Sat, 2 Jul 2016 12:02:10 +0000 (17:32 +0530)]
Merge pull request #1065 from mathstuf/doc-typos

typo: use commas around "e.g."

8 years agotypo: use commas around "e.g."
Ben Boeckel [Sat, 2 Jul 2016 02:59:42 +0000 (22:59 -0400)]
typo: use commas around "e.g."

8 years agoRustup to ea0dc9297283daff6486807f43e190b4eb561412 II
mcarton [Fri, 1 Jul 2016 15:41:57 +0000 (17:41 +0200)]
Rustup to ea0dc9297283daff6486807f43e190b4eb561412 II

8 years agoRustup to ea0dc9297283daff6486807f43e190b4eb561412
mcarton [Tue, 28 Jun 2016 13:54:23 +0000 (15:54 +0200)]
Rustup to ea0dc9297283daff6486807f43e190b4eb561412

8 years agoMerge pull request #1061 from Manishearth/double_neg
Manish Goregaokar [Thu, 30 Jun 2016 04:35:11 +0000 (10:05 +0530)]
Merge pull request #1061 from Manishearth/double_neg

new lint: double_neg

8 years agofixed doc nit
Andre Bogus [Thu, 30 Jun 2016 04:33:21 +0000 (06:33 +0200)]
fixed doc nit

8 years agonew lint: double_neg
Andre Bogus [Wed, 29 Jun 2016 23:00:25 +0000 (01:00 +0200)]
new lint: double_neg

8 years agoMerge pull request #1032 from Manishearth/mut_mut
llogiq [Wed, 29 Jun 2016 18:41:03 +0000 (20:41 +0200)]
Merge pull request #1032 from Manishearth/mut_mut

Improve `mut_mut` and `collapsible_if`

8 years agoImprove `matches` tests
mcarton [Wed, 22 Jun 2016 00:17:26 +0000 (02:17 +0200)]
Improve `matches` tests

8 years agoUpdate CHANGELOG
mcarton [Tue, 21 Jun 2016 21:58:13 +0000 (23:58 +0200)]
Update CHANGELOG

8 years agoMake `COLLAPSIBLE_IF` consider `if let`
mcarton [Tue, 21 Jun 2016 21:53:45 +0000 (23:53 +0200)]
Make `COLLAPSIBLE_IF` consider `if let`

8 years agoSmall cleanup
mcarton [Tue, 21 Jun 2016 21:53:24 +0000 (23:53 +0200)]
Small cleanup

8 years agoMake `CollapsibleIf` an `EarlyLintPass`
mcarton [Tue, 21 Jun 2016 21:17:18 +0000 (23:17 +0200)]
Make `CollapsibleIf` an `EarlyLintPass`

It doesn't need any `hir` feature and `ast` is much more stable.

8 years agoFix FP with `mut_mut` and `for` loops
mcarton [Tue, 21 Jun 2016 20:54:22 +0000 (22:54 +0200)]
Fix FP with `mut_mut` and `for` loops

8 years agoMerge pull request #1057 from Manishearth/1055
Oliver Schneider [Wed, 29 Jun 2016 12:54:19 +0000 (14:54 +0200)]
Merge pull request #1057 from Manishearth/1055

Revert "Automatically defines the `clippy` feature"

8 years agoRevert "Automatically defines the `clippy` feature"
mcarton [Wed, 29 Jun 2016 11:58:07 +0000 (13:58 +0200)]
Revert "Automatically defines the `clippy` feature"

This reverts commit d7ba66bf44f993e64114e17cc15f1b0d56ae8f70.

It was causing problems with crates with:

```rust
#![cfg_attr(feature="clippy", plugin(clippy))]
```

8 years agoMerge pull request #1053 from oli-obk/char_float_transmute
Oliver Schneider [Tue, 28 Jun 2016 12:50:39 +0000 (14:50 +0200)]
Merge pull request #1053 from oli-obk/char_float_transmute

lint on unnecessary and plain wrong transmutes

8 years agolint on unnecessary and plain wrong transmutes
Oliver Schneider [Tue, 28 Jun 2016 12:08:08 +0000 (14:08 +0200)]
lint on unnecessary and plain wrong transmutes

8 years agoMerge pull request #1050 from Manishearth/fx-1049
Oliver Schneider [Tue, 28 Jun 2016 08:58:31 +0000 (10:58 +0200)]
Merge pull request #1050 from Manishearth/fx-1049

Add parentheses when necessary in transmute suggestion (fixes #1049)

8 years agoAdd parentheses when necessary in transmute suggestion (fixes #1049)
Manish Goregaokar [Tue, 28 Jun 2016 06:48:44 +0000 (12:18 +0530)]
Add parentheses when necessary in transmute suggestion (fixes #1049)

8 years agoMerge pull request #1048 from Manishearth/Manishearth-patch-1
Manish Goregaokar [Mon, 27 Jun 2016 15:38:36 +0000 (21:08 +0530)]
Merge pull request #1048 from Manishearth/Manishearth-patch-1

readme formatting nit

8 years agoreadme formatting nit
Manish Goregaokar [Mon, 27 Jun 2016 15:38:16 +0000 (21:08 +0530)]
readme formatting nit

8 years agoMerge pull request #1046 from oli-obk/unify_span_lint_usage
llogiq [Mon, 27 Jun 2016 15:20:03 +0000 (17:20 +0200)]
Merge pull request #1046 from oli-obk/unify_span_lint_usage

use span_lint_and_then instead of adding to the `DiagnosticWrapper`

8 years agoMerge pull request #1045 from oli-obk/more_transmutes
llogiq [Mon, 27 Jun 2016 15:17:14 +0000 (17:17 +0200)]
Merge pull request #1045 from oli-obk/more_transmutes

lint transmuting references to pointer

8 years agouse span_lint_and_then instead of adding to the `DiagnosticWrapper`
Oliver Schneider [Mon, 27 Jun 2016 15:14:04 +0000 (17:14 +0200)]
use span_lint_and_then instead of adding to the `DiagnosticWrapper`

8 years agolint transmuting references to pointers
Oliver Schneider [Mon, 27 Jun 2016 14:12:48 +0000 (16:12 +0200)]
lint transmuting references to pointers

8 years agorefactor transmute lints into a single match
Oliver Schneider [Mon, 27 Jun 2016 11:46:21 +0000 (13:46 +0200)]
refactor transmute lints into a single match

8 years agoMerge pull request #1041 from oli-obk/procedural
Oliver Schneider [Sun, 26 Jun 2016 12:13:24 +0000 (14:13 +0200)]
Merge pull request #1041 from oli-obk/procedural

don't depend on regex_macros anymore

8 years agorename mini-macro to clippy-mini-macro-test
Oliver 'ker' Schneider [Sun, 26 Jun 2016 11:26:30 +0000 (13:26 +0200)]
rename mini-macro to clippy-mini-macro-test

8 years agoMerge pull request #1042 from oli-obk/raw_pointers
Manish Goregaokar [Sat, 25 Jun 2016 22:28:17 +0000 (03:58 +0530)]
Merge pull request #1042 from oli-obk/raw_pointers

don't lint on comparing `*const f32`s

8 years agodon't lint on comparing `*const f32`s
Oliver 'ker' Schneider [Sat, 25 Jun 2016 16:59:37 +0000 (18:59 +0200)]
don't lint on comparing `*const f32`s

8 years agodon't depend on regex_macros anymore
Oliver 'ker' Schneider [Sat, 25 Jun 2016 16:12:29 +0000 (18:12 +0200)]
don't depend on regex_macros anymore

8 years agoMerge pull request #1038 from Manishearth/oli-obk-patch-2
Manish Goregaokar [Sat, 25 Jun 2016 13:16:29 +0000 (18:46 +0530)]
Merge pull request #1038 from Manishearth/oli-obk-patch-2

add myself to Cargo.toml authors

8 years agoadd myself to Cargo.toml authors
Oliver Schneider [Sat, 25 Jun 2016 13:05:29 +0000 (15:05 +0200)]
add myself to Cargo.toml authors

8 years agoMerge pull request #1036 from bestouff/patch-1
Manish Goregaokar [Fri, 24 Jun 2016 13:01:02 +0000 (18:31 +0530)]
Merge pull request #1036 from bestouff/patch-1

Suggest Rust nightly

8 years ago*latest* nightly
Xavier Bestel [Fri, 24 Jun 2016 12:55:17 +0000 (14:55 +0200)]
*latest* nightly

8 years agoSuggest Rust nightly
Xavier Bestel [Fri, 24 Jun 2016 12:41:58 +0000 (14:41 +0200)]
Suggest Rust nightly

Add one line to suggest that clippy won't compile with Rust stable.

8 years agoMerge pull request #1034 from Manishearth/travis_cache
Manish Goregaokar [Fri, 24 Jun 2016 05:57:02 +0000 (11:27 +0530)]
Merge pull request #1034 from Manishearth/travis_cache

try out cache: cargo with travis

8 years agotry out cache: cargo with travis
Andre Bogus [Fri, 24 Jun 2016 05:20:33 +0000 (07:20 +0200)]
try out cache: cargo with travis

8 years agoMerge pull request #1031 from oli-obk/travis2pointOH
Martin Carton [Wed, 22 Jun 2016 13:12:58 +0000 (15:12 +0200)]
Merge pull request #1031 from oli-obk/travis2pointOH

speed up travis by not recompiling clippy just to test `cargo clippy`

8 years agopass the path to the correct command
Oliver Schneider [Wed, 22 Jun 2016 12:37:08 +0000 (14:37 +0200)]
pass the path to the correct command

8 years agoMerge pull request #995 from oli-obk/oh_the_horror
llogiq [Wed, 22 Jun 2016 11:06:12 +0000 (13:06 +0200)]
Merge pull request #995 from oli-obk/oh_the_horror

lint on `filter(x).map(y)`, `filter(x).flat_map(y)`, `filter_map(x).flat_map(y)`

8 years agoupdate lint doc text
Oliver Schneider [Wed, 22 Jun 2016 11:03:59 +0000 (13:03 +0200)]
update lint doc text

8 years agounify the lints
Oliver Schneider [Wed, 22 Jun 2016 08:44:46 +0000 (10:44 +0200)]
unify the lints

8 years agoadd cargo/bin to PATH
Oliver Schneider [Wed, 22 Jun 2016 08:37:08 +0000 (10:37 +0200)]
add cargo/bin to PATH

8 years agocreate missing cargo directory
Oliver Schneider [Wed, 22 Jun 2016 08:36:18 +0000 (10:36 +0200)]
create missing cargo directory

8 years agoMerge pull request #1012 from Manishearth/nohyg
Martin Carton [Tue, 21 Jun 2016 19:23:39 +0000 (21:23 +0200)]
Merge pull request #1012 from Manishearth/nohyg

Don't use identifier hygiene in HIR

8 years agospeed up travis by not recompiling clippy just to test `cargo clippy`
Oliver Schneider [Tue, 21 Jun 2016 15:20:08 +0000 (17:20 +0200)]
speed up travis by not recompiling clippy just to test `cargo clippy`

8 years agoBump to 0.0.77
mcarton [Tue, 21 Jun 2016 14:26:56 +0000 (16:26 +0200)]
Bump to 0.0.77

8 years agofix tests
Oliver Schneider [Tue, 21 Jun 2016 12:46:02 +0000 (14:46 +0200)]
fix tests

8 years agolint message nits
Oliver Schneider [Tue, 21 Jun 2016 12:41:16 +0000 (14:41 +0200)]
lint message nits

8 years agodoc nits
Oliver Schneider [Tue, 21 Jun 2016 12:39:56 +0000 (14:39 +0200)]
doc nits

8 years agofallout2
Oliver Schneider [Tue, 21 Jun 2016 11:51:44 +0000 (13:51 +0200)]
fallout2

8 years agofallout
Oliver Schneider [Tue, 21 Jun 2016 11:49:08 +0000 (13:49 +0200)]
fallout

8 years agoadd tests
Oliver Schneider [Tue, 21 Jun 2016 11:48:56 +0000 (13:48 +0200)]
add tests

8 years agoupdate lints
Oliver Schneider [Tue, 21 Jun 2016 11:32:34 +0000 (13:32 +0200)]
update lints

8 years agocreate a lint for each of the messages
Oliver Schneider [Tue, 21 Jun 2016 11:04:50 +0000 (13:04 +0200)]
create a lint for each of the messages

8 years agoMerge pull request #1029 from oli-obk/manifest2
Manish Goregaokar [Tue, 21 Jun 2016 10:47:38 +0000 (11:47 +0100)]
Merge pull request #1029 from oli-obk/manifest2

fix cargo clippy when using with `--manifest-path`

8 years agofix tests
Oliver Schneider [Tue, 21 Jun 2016 10:35:49 +0000 (12:35 +0200)]
fix tests

8 years agofix cargo clippy when using with `--manifest-path`
Oliver Schneider [Tue, 21 Jun 2016 10:31:30 +0000 (12:31 +0200)]
fix cargo clippy when using with `--manifest-path`

8 years agolint on `filter(x).map(y)`, `filter(x).flat_map(y)`, `filter_map(x).flat_map(y)`
Oliver Schneider [Wed, 8 Jun 2016 17:54:22 +0000 (19:54 +0200)]
lint on `filter(x).map(y)`, `filter(x).flat_map(y)`, `filter_map(x).flat_map(y)`

8 years agoRevert "fix cargo clippy when using with `--manifest-path`"
Manish Goregaokar [Tue, 21 Jun 2016 09:54:04 +0000 (15:24 +0530)]
Revert "fix cargo clippy when using with `--manifest-path`"

This reverts commit b31bebeea4b7ae1a1312049745649d8d2c89c0f4.

8 years agoMerge pull request #1028 from oli-obk/manifest_path
Manish Goregaokar [Tue, 21 Jun 2016 09:45:39 +0000 (10:45 +0100)]
Merge pull request #1028 from oli-obk/manifest_path

fix cargo clippy when using with `--manifest-path`

8 years agofix cargo clippy when using with `--manifest-path`
Oliver Schneider [Tue, 21 Jun 2016 09:35:34 +0000 (11:35 +0200)]
fix cargo clippy when using with `--manifest-path`

8 years agoInclude restriction lints in the wiki
mcarton [Fri, 17 Jun 2016 11:21:46 +0000 (13:21 +0200)]
Include restriction lints in the wiki

8 years agoFix paths in *update_wiki.py*
mcarton [Fri, 17 Jun 2016 10:57:44 +0000 (12:57 +0200)]
Fix paths in *update_wiki.py*

8 years agoMerge pull request #1022 from devonhollowood/extend-iter-nth
Martin Carton [Thu, 16 Jun 2016 21:59:09 +0000 (23:59 +0200)]
Merge pull request #1022 from devonhollowood/extend-iter-nth

Extend iter nth

8 years agoRemove uneccessary, leftover comments in lint_iter_mut()
Devon Hollowood [Thu, 16 Jun 2016 21:51:16 +0000 (14:51 -0700)]
Remove uneccessary, leftover comments in lint_iter_mut()

8 years agoExtend iter_nth lint to work with iter_mut() and VecDeque
Devon Hollowood [Thu, 16 Jun 2016 21:46:29 +0000 (14:46 -0700)]
Extend iter_nth lint to work with iter_mut() and VecDeque

8 years agoAdd tests for extend-iter-nth
Devon Hollowood [Thu, 16 Jun 2016 21:30:05 +0000 (14:30 -0700)]
Add tests for extend-iter-nth

8 years agoMerge pull request #994 from oli-obk/stuttter
llogiq [Thu, 16 Jun 2016 17:00:43 +0000 (19:00 +0200)]
Merge pull request #994 from oli-obk/stuttter

Stuttter lint

8 years agoallow by default
Oliver 'ker' Schneider [Thu, 16 Jun 2016 16:37:56 +0000 (18:37 +0200)]
allow by default

8 years agoMerge pull request #1021 from Manishearth/issue1017
Martin Carton [Thu, 16 Jun 2016 14:30:44 +0000 (16:30 +0200)]
Merge pull request #1021 from Manishearth/issue1017

Fix FP with `WHILE_LET_LOOP` and break expressions

8 years agoFix FP with `WHILE_LET_LOOP` and break expressions
mcarton [Thu, 16 Jun 2016 14:19:17 +0000 (16:19 +0200)]
Fix FP with `WHILE_LET_LOOP` and break expressions

8 years agoround 3
Oliver Schneider [Fri, 10 Jun 2016 14:30:39 +0000 (16:30 +0200)]
round 3

8 years agoround 2
Oliver Schneider [Fri, 10 Jun 2016 14:23:17 +0000 (16:23 +0200)]
round 2

8 years agoround 1
Oliver Schneider [Fri, 10 Jun 2016 14:17:20 +0000 (16:17 +0200)]
round 1

8 years agoonly lint public stutter namings
Oliver Schneider [Fri, 10 Jun 2016 14:14:36 +0000 (16:14 +0200)]
only lint public stutter namings

8 years agolint items whose name starts/ends with their enclosing module's name
Oliver Schneider [Wed, 8 Jun 2016 15:43:27 +0000 (17:43 +0200)]
lint items whose name starts/ends with their enclosing module's name

8 years agolint enum variants names that start or end with their enum's name
Oliver Schneider [Wed, 8 Jun 2016 13:32:30 +0000 (15:32 +0200)]
lint enum variants names that start or end with their enum's name

8 years ago`Skip` for `Chars` doesn't help us b/c of the `ExactSizeIterator` bound
Oliver Schneider [Wed, 8 Jun 2016 13:03:30 +0000 (15:03 +0200)]
`Skip` for `Chars` doesn't help us b/c of the `ExactSizeIterator` bound

8 years agoMerge pull request #1016 from devonhollowood/slice-iter-nth
Manish Goregaokar [Thu, 16 Jun 2016 09:33:48 +0000 (10:33 +0100)]
Merge pull request #1016 from devonhollowood/slice-iter-nth

Suggest `.get()` over `.iter().nth()`

8 years agoMake iter_nth work for `Vec`s too
Devon Hollowood [Thu, 16 Jun 2016 09:02:00 +0000 (02:02 -0700)]
Make iter_nth work for `Vec`s too

8 years agoAdd slice_iter_nth lint
Devon Hollowood [Thu, 16 Jun 2016 08:36:11 +0000 (01:36 -0700)]
Add slice_iter_nth lint

8 years agoAdd tests for slice_iter_nth
Devon Hollowood [Thu, 16 Jun 2016 08:29:03 +0000 (01:29 -0700)]
Add tests for slice_iter_nth

8 years agoDon't use identifier hygiene in HIR
mcarton [Wed, 15 Jun 2016 14:27:56 +0000 (16:27 +0200)]
Don't use identifier hygiene in HIR