]> git.lizzy.rs Git - rust.git/log
rust.git
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

8 years agoMerge pull request #1011 from Manishearth/travis
Martin Carton [Mon, 13 Jun 2016 10:24:06 +0000 (12:24 +0200)]
Merge pull request #1011 from Manishearth/travis

s/npm install remark/npm install remark-cli

8 years agos/npm install remark/npm install remark-cli
mcarton [Mon, 13 Jun 2016 10:09:14 +0000 (12:09 +0200)]
s/npm install remark/npm install remark-cli

8 years agoMerge pull request #1004 from Manishearth/rustup
Martin Carton [Fri, 10 Jun 2016 18:25:25 +0000 (20:25 +0200)]
Merge pull request #1004 from Manishearth/rustup

Rustup to *1.11.0-nightly (7d2f75a95 2016-06-09)*

8 years agoBump to 0.0.76
mcarton [Fri, 10 Jun 2016 17:48:56 +0000 (19:48 +0200)]
Bump to 0.0.76

8 years agoRustup to *1.11.0-nightly (7d2f75a95 2016-06-09)*
mcarton [Fri, 10 Jun 2016 17:47:10 +0000 (19:47 +0200)]
Rustup to *1.11.0-nightly (7d2f75a95 2016-06-09)*

8 years agoMerge pull request #1002 from Manishearth/issues
Manish Goregaokar [Fri, 10 Jun 2016 11:51:24 +0000 (17:21 +0530)]
Merge pull request #1002 from Manishearth/issues

Add a issue template and specify a *recent* nightly is needed

8 years agoAdd a issue template and specify a *recent* nightly is needed
mcarton [Fri, 10 Jun 2016 11:43:32 +0000 (13:43 +0200)]
Add a issue template and specify a *recent* nightly is needed

8 years agoMerge pull request #1000 from Manishearth/doc_whitelist
Martin Carton [Thu, 9 Jun 2016 22:44:52 +0000 (00:44 +0200)]
Merge pull request #1000 from Manishearth/doc_whitelist

added GPLv{2,3} to doc-valid-idents

8 years agoMerge pull request #990 from Manishearth/rustfmt
llogiq [Thu, 9 Jun 2016 22:26:30 +0000 (00:26 +0200)]
Merge pull request #990 from Manishearth/rustfmt

Cleanup

8 years agoDogfood inside `if_let_chain!`
mcarton [Mon, 6 Jun 2016 16:55:22 +0000 (18:55 +0200)]
Dogfood inside `if_let_chain!`

8 years agoCleanup dependencies and features
mcarton [Mon, 6 Jun 2016 15:09:51 +0000 (17:09 +0200)]
Cleanup dependencies and features

8 years agoFormat all `if_let_chain` consistently
mcarton [Mon, 6 Jun 2016 00:09:19 +0000 (02:09 +0200)]
Format all `if_let_chain` consistently

8 years agoCleanup trailing space
mcarton [Mon, 6 Jun 2016 00:07:47 +0000 (02:07 +0200)]
Cleanup trailing space

8 years agoDogfood
mcarton [Sun, 5 Jun 2016 23:53:21 +0000 (01:53 +0200)]
Dogfood

8 years agoRun rustfmt
mcarton [Sun, 5 Jun 2016 23:42:39 +0000 (01:42 +0200)]
Run rustfmt

Only partially apply suggestions.

8 years agoCleanup
mcarton [Sun, 5 Jun 2016 23:16:16 +0000 (01:16 +0200)]
Cleanup

8 years agoadded GPLv{2,3} to doc-valid-idents
Andre Bogus [Thu, 9 Jun 2016 22:06:50 +0000 (00:06 +0200)]
added GPLv{2,3} to doc-valid-idents

8 years agoMerge pull request #999 from Manishearth/whitelist
llogiq [Thu, 9 Jun 2016 22:04:50 +0000 (00:04 +0200)]
Merge pull request #999 from Manishearth/whitelist

Some small fixes

8 years agoFix suggestions for `REVERSE_RANGE_LOOP`
mcarton [Thu, 9 Jun 2016 21:05:48 +0000 (23:05 +0200)]
Fix suggestions for `REVERSE_RANGE_LOOP`

8 years agoFix false-positive in `LET_AND_RETURN`
mcarton [Wed, 8 Jun 2016 22:24:44 +0000 (00:24 +0200)]
Fix false-positive in `LET_AND_RETURN`

If the declaration has a type, it might be required for coercion to
happen.

8 years agoFix yet another FP in `USELESS_LET_IF_SEQ`
mcarton [Wed, 8 Jun 2016 22:22:59 +0000 (00:22 +0200)]
Fix yet another FP in `USELESS_LET_IF_SEQ`

The block expression before the assignment must be `None`.

8 years agoWhitelist Nan in `DOC_MARKDOWN`
mcarton [Wed, 8 Jun 2016 20:00:42 +0000 (22:00 +0200)]
Whitelist Nan in `DOC_MARKDOWN`

8 years agoMerge pull request #996 from Manishearth/feature
Manish Goregaokar [Thu, 9 Jun 2016 07:54:32 +0000 (00:54 -0700)]
Merge pull request #996 from Manishearth/feature

Automatically defines the `clippy` feature

8 years agoMerge pull request #997 from carols10cents/include-consts
Manish Goregaokar [Thu, 9 Jun 2016 03:02:44 +0000 (20:02 -0700)]
Merge pull request #997 from carols10cents/include-consts

Include `consts` in the approx_consts lint for easier copypasting

8 years agoInclude `consts` in the approx_consts lint for easier copypasting
Carol (Nichols || Goulding) [Wed, 8 Jun 2016 23:58:29 +0000 (19:58 -0400)]
Include `consts` in the approx_consts lint for easier copypasting

If you try to use `f64::PI`, it won't work-- you need to use
`f64::consts::PI`, so suggest that in the lint message.

8 years agoAutomatically defines the `clippy` feature
mcarton [Wed, 8 Jun 2016 19:48:10 +0000 (21:48 +0200)]
Automatically defines the `clippy` feature

8 years agoMerge pull request #993 from Manishearth/rustup
llogiq [Wed, 8 Jun 2016 10:32:36 +0000 (12:32 +0200)]
Merge pull request #993 from Manishearth/rustup

Rustup to *rustc 1.11.0-nightly (763f9234b 2016-06-06)*

8 years agoBump to 0.0.75
mcarton [Wed, 8 Jun 2016 10:23:33 +0000 (12:23 +0200)]
Bump to 0.0.75

8 years agoRustup to *1.11.0-nightly (763f9234b 2016-06-06)*
mcarton [Wed, 8 Jun 2016 10:21:24 +0000 (12:21 +0200)]
Rustup to *1.11.0-nightly (763f9234b 2016-06-06)*

8 years agoMerge pull request #983 from Manishearth/fix-tests
llogiq [Tue, 7 Jun 2016 16:42:46 +0000 (18:42 +0200)]
Merge pull request #983 from Manishearth/fix-tests

Fix wrong tests and improve some other

8 years agoBump `compiletest_rs` to 0.2
mcarton [Tue, 7 Jun 2016 16:33:29 +0000 (18:33 +0200)]
Bump `compiletest_rs` to 0.2

8 years agoAdd missing suggestions and help message to tests
mcarton [Tue, 7 Jun 2016 16:33:11 +0000 (18:33 +0200)]
Add missing suggestions and help message to tests

8 years agoUse `span_suggestion` for `WHILE_LET_ON_ITERATOR`
mcarton [Tue, 7 Jun 2016 16:32:26 +0000 (18:32 +0200)]
Use `span_suggestion` for `WHILE_LET_ON_ITERATOR`

8 years agoFix span in `REVERSE_RANGE_LOOP`’s suggestion
mcarton [Tue, 7 Jun 2016 15:58:52 +0000 (17:58 +0200)]
Fix span in `REVERSE_RANGE_LOOP`’s suggestion

8 years agoFix typo in `REVERSE_RANGE_LOOP`’s suggestion
mcarton [Tue, 7 Jun 2016 15:49:13 +0000 (17:49 +0200)]
Fix typo in `REVERSE_RANGE_LOOP`’s suggestion

8 years agoFix wrong tests and improve some other
mcarton [Sun, 5 Jun 2016 16:07:12 +0000 (18:07 +0200)]
Fix wrong tests and improve some other

8 years agoBump to 0.0.74
mcarton [Tue, 7 Jun 2016 10:22:36 +0000 (12:22 +0200)]
Bump to 0.0.74

8 years agoMerge pull request #988 from oli-obk/metadata3
Martin Carton [Mon, 6 Jun 2016 14:54:24 +0000 (16:54 +0200)]
Merge pull request #988 from oli-obk/metadata3

simply parse unknown json-strings as strings instead of erroring

8 years agoclippy should work on all systems
Oliver Schneider [Mon, 6 Jun 2016 14:43:58 +0000 (16:43 +0200)]
clippy should work on all systems

8 years agodon't abort after successfully linting a target
Oliver Schneider [Mon, 6 Jun 2016 09:28:09 +0000 (11:28 +0200)]
don't abort after successfully linting a target

8 years agosimply parse unknown json-strings as strings instead of erroring
Oliver Schneider [Mon, 6 Jun 2016 09:03:15 +0000 (11:03 +0200)]
simply parse unknown json-strings as strings instead of erroring

8 years agoMerge pull request #986 from Manishearth/disable-wiki-link
Manish Goregaokar [Sun, 5 Jun 2016 21:01:28 +0000 (02:31 +0530)]
Merge pull request #986 from Manishearth/disable-wiki-link

Add environment variable to deactivate wiki links

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