]> git.lizzy.rs Git - rust.git/log
rust.git
8 years agoAdd environment variable to deactivate wiki links
mcarton [Sun, 5 Jun 2016 19:05:28 +0000 (21:05 +0200)]
Add environment variable to deactivate wiki links

8 years agoMerge pull request #987 from Manishearth/fix-985
Martin Carton [Sun, 5 Jun 2016 19:56:28 +0000 (21:56 +0200)]
Merge pull request #987 from Manishearth/fix-985

Fix false-positive in `USELESS_LET_IF_SEQ`

8 years agoBump to 0.0.73
mcarton [Sun, 5 Jun 2016 19:43:22 +0000 (21:43 +0200)]
Bump to 0.0.73

8 years agoFix false-positive in `USELESS_LET_IF_SEQ`
mcarton [Sun, 5 Jun 2016 19:38:15 +0000 (21:38 +0200)]
Fix false-positive in `USELESS_LET_IF_SEQ`

8 years agoMerge pull request #984 from Manishearth/fix-swap
llogiq [Sun, 5 Jun 2016 19:04:03 +0000 (21:04 +0200)]
Merge pull request #984 from Manishearth/fix-swap

 Fix wrong suggestion with `MANUAL_SWAP` and slices

8 years agoCleanup, use `matches!` some more
mcarton [Sun, 5 Jun 2016 18:46:42 +0000 (20:46 +0200)]
Cleanup, use `matches!` some more

8 years agoRemove useless `if_let_chain`
mcarton [Sun, 5 Jun 2016 18:46:27 +0000 (20:46 +0200)]
Remove useless `if_let_chain`

8 years agoFix wrong suggestion with `MANUAL_SWAP` and slices
mcarton [Sun, 5 Jun 2016 18:19:00 +0000 (20:19 +0200)]
Fix wrong suggestion with `MANUAL_SWAP` and slices

8 years agoMerge pull request #982 from Manishearth/fix-swap
Manish Goregaokar [Sun, 5 Jun 2016 14:03:05 +0000 (19:33 +0530)]
Merge pull request #982 from Manishearth/fix-swap

Fix wrong suggestion in `MANUAL_SWAP`

8 years agoFix wrong suggestion in `MANUAL_SWAP`
mcarton [Sun, 5 Jun 2016 13:47:57 +0000 (15:47 +0200)]
Fix wrong suggestion in `MANUAL_SWAP`

8 years agoMerge pull request #980 from dtolnay/release
Martin Carton [Sat, 4 Jun 2016 21:51:03 +0000 (23:51 +0200)]
Merge pull request #980 from dtolnay/release

Release 0.0.72

8 years agoRelease 0.0.72
David Tolnay [Sat, 4 Jun 2016 21:31:24 +0000 (14:31 -0700)]
Release 0.0.72

8 years agoMerge pull request #962 from Manishearth/fix-doc
llogiq [Sat, 4 Jun 2016 07:24:39 +0000 (09:24 +0200)]
Merge pull request #962 from Manishearth/fix-doc

Fix DOC_MARKDOWN and multiline links and quotes

8 years agoMerge pull request #979 from Manishearth/fx-975
llogiq [Fri, 3 Jun 2016 19:42:41 +0000 (21:42 +0200)]
Merge pull request #979 from Manishearth/fx-975

Correctly check for variable use in `useless_let_if_seq`

8 years agoCorrectly check for variable use in `useless_let_if_seq`
mcarton [Fri, 3 Jun 2016 17:35:39 +0000 (19:35 +0200)]
Correctly check for variable use in `useless_let_if_seq`

8 years agoMerge pull request #978 from Manishearth/fx-977
Martin Carton [Fri, 3 Jun 2016 17:19:23 +0000 (19:19 +0200)]
Merge pull request #978 from Manishearth/fx-977

Make new_without_default ignore const fns

8 years agoMake new_without_default ignore const fns; fixes #977
Manish Goregaokar [Fri, 3 Jun 2016 14:45:07 +0000 (20:15 +0530)]
Make new_without_default ignore const fns; fixes #977

8 years agoMerge pull request #974 from oli-obk/metadata2
Martin Carton [Thu, 2 Jun 2016 15:46:52 +0000 (17:46 +0200)]
Merge pull request #974 from oli-obk/metadata2

process more kinds of metadata

8 years agono indexing
Oliver Schneider [Thu, 2 Jun 2016 15:39:28 +0000 (17:39 +0200)]
no indexing

8 years agoprocess more kinds of metadata
Oliver Schneider [Thu, 2 Jun 2016 15:29:25 +0000 (17:29 +0200)]
process more kinds of metadata

8 years agoMerge pull request #972 from Manishearth/fix-953
Martin Carton [Thu, 2 Jun 2016 00:14:51 +0000 (02:14 +0200)]
Merge pull request #972 from Manishearth/fix-953

only lint `new_without_default` for public items

8 years agoonly lint `new_without_default` for public items
Andre Bogus [Wed, 1 Jun 2016 21:35:14 +0000 (23:35 +0200)]
only lint `new_without_default` for public items

This fixes #953.

8 years agoFix CHANGELOG
mcarton [Tue, 31 May 2016 22:04:47 +0000 (00:04 +0200)]
Fix CHANGELOG

8 years agoMerge pull request #970 from Manishearth/rustup
Martin Carton [Tue, 31 May 2016 21:54:02 +0000 (23:54 +0200)]
Merge pull request #970 from Manishearth/rustup

s/PatKind::Ident/PatKind::Binding/g

8 years agoBump to 0.0.71
mcarton [Tue, 31 May 2016 21:32:04 +0000 (23:32 +0200)]
Bump to 0.0.71

Rustup to *rustc 1.10.0-nightly (7bddce693 2016-05-27)*

8 years agoadded missing PatKind::Path + tests
Andre Bogus [Tue, 31 May 2016 20:01:56 +0000 (22:01 +0200)]
added missing PatKind::Path + tests

8 years agoanother one. Somehow I failed to correctly commit
Andre Bogus [Tue, 31 May 2016 20:07:03 +0000 (22:07 +0200)]
another one. Somehow I failed to correctly commit

8 years agoadded mcarton's test suggestion
Andre Bogus [Tue, 31 May 2016 19:50:13 +0000 (21:50 +0200)]
added mcarton's test suggestion

8 years agodogfood error in consts fixed
Andre Bogus [Tue, 31 May 2016 18:14:59 +0000 (20:14 +0200)]
dogfood error in consts fixed

8 years agoadditional error in copies test annotated
Andre Bogus [Tue, 31 May 2016 18:14:32 +0000 (20:14 +0200)]
additional error in copies test annotated

8 years agos/PatKind::Ident/PatKind::Binding/g
Andre Bogus [Tue, 31 May 2016 17:17:31 +0000 (19:17 +0200)]
s/PatKind::Ident/PatKind::Binding/g

8 years agoMerge pull request #960 from oli-obk/libbin
llogiq [Tue, 31 May 2016 14:53:37 +0000 (16:53 +0200)]
Merge pull request #960 from oli-obk/libbin

don't require `cargo clippy` to pass a `--lib` or `--bin x` argument

8 years agoleave the clippy_lints directory after testing
Oliver Schneider [Tue, 31 May 2016 12:37:25 +0000 (14:37 +0200)]
leave the clippy_lints directory after testing

8 years agoadd version check to the unit tests
Oliver Schneider [Mon, 30 May 2016 10:47:04 +0000 (12:47 +0200)]
add version check to the unit tests

8 years agotravis should check `clippy-lints`
Oliver Schneider [Fri, 27 May 2016 13:42:45 +0000 (15:42 +0200)]
travis should check `clippy-lints`

8 years agodogfood
Oliver Schneider [Fri, 27 May 2016 13:42:33 +0000 (15:42 +0200)]
dogfood

8 years agodon't require `cargo clippy` to pass a `--lib` or `--bin x` argument
Oliver Schneider [Fri, 27 May 2016 13:31:19 +0000 (15:31 +0200)]
don't require `cargo clippy` to pass a `--lib` or `--bin x` argument

8 years agoMerge pull request #814 from Manishearth/let_mut_if
Manish Goregaokar [Sun, 29 May 2016 10:42:55 +0000 (16:12 +0530)]
Merge pull request #814 from Manishearth/let_mut_if

Add a `USELESS_LET_IF_SEQ` lint

8 years agoAdd a `USELESS_LET_IF_SEQ` lint
mcarton [Wed, 30 Mar 2016 17:53:43 +0000 (19:53 +0200)]
Add a `USELESS_LET_IF_SEQ` lint

8 years agoran update_lints.py
Andre Bogus [Sun, 29 May 2016 09:57:56 +0000 (11:57 +0200)]
ran update_lints.py

I forgot that in the previous commit. Shame on me.

8 years agoMerge branch 'pr-961'
Andre Bogus [Sun, 29 May 2016 09:48:28 +0000 (11:48 +0200)]
Merge branch 'pr-961'

8 years agoAdd a README for `clippy_lints`
mcarton [Sat, 28 May 2016 14:50:34 +0000 (16:50 +0200)]
Add a README for `clippy_lints`

This avoids the error:

> error: failed to read `/tmp/tralala/clippy_lints/README.md`

when publishing.

8 years agoMerge pull request #958 from Manishearth/rustup
Martin Carton [Sat, 28 May 2016 14:43:34 +0000 (16:43 +0200)]
Merge pull request #958 from Manishearth/rustup

 Rustup to *1.10.0-nightly (7bddce693 2016-05-27)* && bump to 0.0.70

8 years agoBump to 0.0.70
mcarton [Sat, 28 May 2016 14:36:44 +0000 (16:36 +0200)]
Bump to 0.0.70

8 years agoRustup to *1.10.0-nightly (7bddce693 2016-05-27)*
mcarton [Fri, 27 May 2016 12:24:28 +0000 (14:24 +0200)]
Rustup to *1.10.0-nightly (7bddce693 2016-05-27)*

8 years agoFix `doc_markdown` and multiline quotes and links
mcarton [Sat, 28 May 2016 01:18:52 +0000 (03:18 +0200)]
Fix `doc_markdown` and multiline quotes and links

8 years agoImprove markdown parsing for the doc lint
mcarton [Thu, 26 May 2016 20:53:38 +0000 (22:53 +0200)]
Improve markdown parsing for the doc lint

8 years agoEnsure the correct clippy_lints dependency version.
Georg Brandl [Fri, 27 May 2016 13:57:44 +0000 (15:57 +0200)]
Ensure the correct clippy_lints dependency version.

8 years agoSome Python style nits.
Georg Brandl [Fri, 27 May 2016 13:57:03 +0000 (15:57 +0200)]
Some Python style nits.

8 years agoFix wiki links and `char_lit_as_u8`
mcarton [Fri, 27 May 2016 13:55:08 +0000 (15:55 +0200)]
Fix wiki links and `char_lit_as_u8`

8 years agoMerge pull request #950 from oli-obk/split3
Manish Goregaokar [Fri, 27 May 2016 13:16:05 +0000 (18:46 +0530)]
Merge pull request #950 from oli-obk/split3

split clippy into lints, plugin and cargo-clippy

8 years agosplit clippy into lints, plugin and cargo-clippy
Oliver Schneider [Tue, 24 May 2016 16:25:25 +0000 (18:25 +0200)]
split clippy into lints, plugin and cargo-clippy

8 years agoMerge pull request #957 from oli-obk/needs_borrow
Martin Carton [Fri, 27 May 2016 10:26:00 +0000 (12:26 +0200)]
Merge pull request #957 from oli-obk/needs_borrow

needless_borrow reported on &&T when only &T implements Trait and &Trait is required

8 years agoneedless_borrow reported on &&T when only &T implements Trait and &Trait is required
Oliver Schneider [Fri, 27 May 2016 10:12:38 +0000 (12:12 +0200)]
needless_borrow reported on &&T when only &T implements Trait and &Trait is required

8 years agoFix documentation
mcarton [Wed, 25 May 2016 22:08:31 +0000 (00:08 +0200)]
Fix documentation

8 years agoMerge pull request #955 from Manishearth/regexes
llogiq [Wed, 25 May 2016 22:00:07 +0000 (00:00 +0200)]
Merge pull request #955 from Manishearth/regexes

Regexes

8 years agoSupport `RegexBuilder`
mcarton [Wed, 25 May 2016 19:36:51 +0000 (21:36 +0200)]
Support `RegexBuilder`

8 years agoLint binary regexes
mcarton [Wed, 25 May 2016 15:15:19 +0000 (17:15 +0200)]
Lint binary regexes

8 years agoMerge pull request #954 from oli-obk/ininneffective_unsafe_block
Manish Goregaokar [Wed, 25 May 2016 17:08:03 +0000 (22:38 +0530)]
Merge pull request #954 from oli-obk/ininneffective_unsafe_block

fix no_effect lint

8 years agofix no_effect lint
Oliver Schneider [Wed, 25 May 2016 16:51:35 +0000 (18:51 +0200)]
fix no_effect lint

8 years agoMerge pull request #940 from oli-obk/simplify/mut_mut
Martin Carton [Wed, 25 May 2016 11:07:59 +0000 (13:07 +0200)]
Merge pull request #940 from oli-obk/simplify/mut_mut

simplify `mut_mut` lint

8 years agosimplify `mut_mut` lint
Oliver Schneider [Tue, 17 May 2016 14:34:15 +0000 (16:34 +0200)]
simplify `mut_mut` lint

8 years agoMerge pull request #938 from Manishearth/fix-876
llogiq [Tue, 24 May 2016 16:47:10 +0000 (18:47 +0200)]
Merge pull request #938 from Manishearth/fix-876

Split `new_without_default` and `new_without_default_derive`.

8 years agoSplit `new_without_default` and `new_without_default_derive`.
Andre Bogus [Tue, 17 May 2016 06:33:57 +0000 (08:33 +0200)]
Split `new_without_default` and `new_without_default_derive`.

This is still very slow, because we do a trait lookup for each field.
Perhaps storing the visited types in a set to reuse types would improve
performance somewhat. Also we may want to pre-decide some known types
(e.g. `Vec<T>`, `Option<T>`).

8 years agoMerge pull request #948 from BenoitZugmeyer/cargo-clippy-exit-code
Manish Goregaokar [Tue, 24 May 2016 03:25:41 +0000 (08:55 +0530)]
Merge pull request #948 from BenoitZugmeyer/cargo-clippy-exit-code

Let cargo-clippy exit with a code > 0 if some error occured

8 years agoLet cargo-clippy exit with a code > 0 if some error occured
Benoît Zugmeyer [Mon, 23 May 2016 20:32:51 +0000 (22:32 +0200)]
Let cargo-clippy exit with a code > 0 if some error occured

8 years agoMerge pull request #944 from Manishearth/rustup
Martin Carton [Mon, 23 May 2016 18:54:06 +0000 (20:54 +0200)]
Merge pull request #944 from Manishearth/rustup

Rustup to *rustc 1.10.0-nightly (764ef92ae 2016-05-19)* and bump to 0.0.69

8 years agoBump to 0.0.69
mcarton [Thu, 19 May 2016 21:15:12 +0000 (23:15 +0200)]
Bump to 0.0.69

8 years agoRustup to *1.10.0-nightly (476fe6eef 2016-05-21)*
mcarton [Mon, 23 May 2016 14:34:09 +0000 (16:34 +0200)]
Rustup to *1.10.0-nightly (476fe6eef 2016-05-21)*

8 years agoRustup to *1.10.0-nightly (764ef92ae 2016-05-19)*
mcarton [Fri, 20 May 2016 17:18:32 +0000 (19:18 +0200)]
Rustup to *1.10.0-nightly (764ef92ae 2016-05-19)*

8 years agoRustup to *1.10.0-nightly (9c6904ca1 2016-05-18)*
mcarton [Thu, 19 May 2016 21:14:34 +0000 (23:14 +0200)]
Rustup to *1.10.0-nightly (9c6904ca1 2016-05-18)*

8 years agoMerge branch 'pr-942'
Manish Goregaokar [Wed, 18 May 2016 07:43:35 +0000 (13:13 +0530)]
Merge branch 'pr-942'

8 years agoBump to 0.0.68
mcarton [Tue, 17 May 2016 21:26:44 +0000 (23:26 +0200)]
Bump to 0.0.68

8 years agoRustup to *1.10.0-nightly (cd6a40017 2016-05-16)*
mcarton [Tue, 17 May 2016 21:25:20 +0000 (23:25 +0200)]
Rustup to *1.10.0-nightly (cd6a40017 2016-05-16)*

8 years agoDon't panic if cargo rustc fails
Manish Goregaokar [Mon, 16 May 2016 17:42:55 +0000 (23:12 +0530)]
Don't panic if cargo rustc fails

8 years agoMerge pull request #934 from Manishearth/allow-upcast
Martin Carton [Mon, 16 May 2016 17:36:06 +0000 (19:36 +0200)]
Merge pull request #934 from Manishearth/allow-upcast

Allow invalid upcast comparisons

8 years agoAllow invalid upcast comparisons
Manish Goregaokar [Mon, 16 May 2016 17:09:16 +0000 (22:39 +0530)]
Allow invalid upcast comparisons

8 years agoMerge pull request #928 from oli-obk/unnecessary_operation
Martin Carton [Fri, 13 May 2016 15:45:58 +0000 (17:45 +0200)]
Merge pull request #928 from oli-obk/unnecessary_operation

add a companion lint to `no_effect` with suggestions for partially (in-)effective statements

8 years agoadd a companion lint to `no_effect` with suggestions for partially effective statements
Oliver Schneider [Fri, 13 May 2016 14:43:47 +0000 (16:43 +0200)]
add a companion lint to `no_effect` with suggestions for partially effective statements

8 years agoMerge pull request #927 from oli-obk/german_windows_32bit
llogiq [Fri, 13 May 2016 13:41:49 +0000 (15:41 +0200)]
Merge pull request #927 from oli-obk/german_windows_32bit

German windows 32bit

8 years agomake sure compiletest works on windows
Oliver Schneider [Fri, 13 May 2016 11:46:13 +0000 (13:46 +0200)]
make sure compiletest works on windows

8 years agoignore the portability test on 32 bit
Oliver Schneider [Fri, 13 May 2016 11:45:53 +0000 (13:45 +0200)]
ignore the portability test on 32 bit

it will fail in rustc

8 years agodon't check for an exact error message
Oliver Schneider [Fri, 13 May 2016 11:45:25 +0000 (13:45 +0200)]
don't check for an exact error message

the system might change it, especially if the system language is changed

8 years agoMerge pull request #921 from afck/master
Martin Carton [Fri, 13 May 2016 10:13:23 +0000 (12:13 +0200)]
Merge pull request #921 from afck/master

fix typos

8 years agofix typos
Andreas Fackler [Thu, 12 May 2016 15:52:51 +0000 (18:52 +0300)]
fix typos

8 years agoMerge pull request #922 from Manishearth/rustup
Manish Goregaokar [Thu, 12 May 2016 20:16:04 +0000 (13:16 -0700)]
Merge pull request #922 from Manishearth/rustup

Rustup to *1.10.0-nightly (22ac88f1a 2016-05-11)*

8 years agoBump to 0.0.67
mcarton [Thu, 12 May 2016 17:32:59 +0000 (19:32 +0200)]
Bump to 0.0.67

8 years agoRustup to *1.10.0-nightly (22ac88f1a 2016-05-11)*
mcarton [Thu, 12 May 2016 17:11:13 +0000 (19:11 +0200)]
Rustup to *1.10.0-nightly (22ac88f1a 2016-05-11)*

8 years agoMerge pull request #919 from oli-obk/fix/917
Martin Carton [Thu, 12 May 2016 11:09:15 +0000 (13:09 +0200)]
Merge pull request #919 from oli-obk/fix/917

don't suggest closures over constants

8 years agodon't suggest closures over constants
Oliver Schneider [Thu, 12 May 2016 08:23:06 +0000 (10:23 +0200)]
don't suggest closures over constants

fixes #917

8 years agoMerge pull request #913 from oli-obk/assign_ops
llogiq [Wed, 11 May 2016 21:36:10 +0000 (23:36 +0200)]
Merge pull request #913 from oli-obk/assign_ops

suggest `a op= b` over `a = a op b`

8 years agoMerge pull request #915 from Manishearth/sysroot
llogiq [Wed, 11 May 2016 19:56:52 +0000 (21:56 +0200)]
Merge pull request #915 from Manishearth/sysroot

Use rustc --print sysroot, bump to v66 r? @llogiq

8 years agoMerge pull request #914 from oli-obk/non_expressive_names
llogiq [Wed, 11 May 2016 19:55:38 +0000 (21:55 +0200)]
Merge pull request #914 from oli-obk/non_expressive_names

similar_names fixes

8 years agoUse rustc --print sysroot, bump to v66
Manish Goregaokar [Wed, 11 May 2016 18:05:34 +0000 (11:05 -0700)]
Use rustc --print sysroot, bump to v66

8 years agoadd known problems
Oliver Schneider [Wed, 11 May 2016 15:04:27 +0000 (17:04 +0200)]
add known problems

8 years agomerge struct similar_name test into the general test file
Oliver Schneider [Wed, 11 May 2016 15:01:34 +0000 (17:01 +0200)]
merge struct similar_name test into the general test file

8 years agoproperly lint function argument patterns in similar_names
Oliver Schneider [Wed, 11 May 2016 14:45:06 +0000 (16:45 +0200)]
properly lint function argument patterns in similar_names

8 years agodon't lint at the use-site of bad struct field bindings if they're shorthand
Oliver Schneider [Wed, 11 May 2016 14:44:43 +0000 (16:44 +0200)]
don't lint at the use-site of bad struct field bindings if they're shorthand

fixes #899

8 years agosuggest `a op= b` over `a = a op b`
Oliver Schneider [Wed, 11 May 2016 13:32:20 +0000 (15:32 +0200)]
suggest `a op= b` over `a = a op b`

8 years agoMerge pull request #911 from cuviper/rustup
llogiq [Tue, 10 May 2016 21:23:44 +0000 (23:23 +0200)]
Merge pull request #911 from cuviper/rustup

Support either rustup or multirust environment variables