]> git.lizzy.rs Git - rust.git/log
rust.git
7 years agoBump to 0.0.85
mcarton [Fri, 19 Aug 2016 15:41:24 +0000 (17:41 +0200)]
Bump to 0.0.85

7 years agoMerge pull request #1174 from oli-obk/bugfix
Martin Carton [Fri, 19 Aug 2016 15:37:21 +0000 (17:37 +0200)]
Merge pull request #1174 from oli-obk/bugfix

don't lint `unused_attribute` if snippet is shorter than 1 character

7 years agoadd regression test
Oliver Schneider [Fri, 19 Aug 2016 15:31:14 +0000 (17:31 +0200)]
add regression test

7 years ago`unused_import` is a valid lint to be changed on `use` statements
Oliver Schneider [Thu, 18 Aug 2016 11:07:47 +0000 (13:07 +0200)]
`unused_import` is a valid lint to be changed on `use` statements

7 years agodon't lint if snippet is shortert than 1 character
Oliver Schneider [Thu, 18 Aug 2016 09:08:35 +0000 (11:08 +0200)]
don't lint if snippet is shortert than 1 character

This happens with various combinations of cfg attributes and macros expansion.
Not linting here is the safe route, as everything else might produce false positives.

7 years agoBump to 0.0.84
mcarton [Thu, 18 Aug 2016 19:51:06 +0000 (21:51 +0200)]
Bump to 0.0.84

7 years agoMerge pull request #1176 from birkenfeld/master
Martin Carton [Thu, 18 Aug 2016 19:49:52 +0000 (21:49 +0200)]
Merge pull request #1176 from birkenfeld/master

rustup

7 years agorustup
Georg Brandl [Thu, 18 Aug 2016 18:36:42 +0000 (20:36 +0200)]
rustup

7 years agofallout
Oliver Schneider [Wed, 17 Aug 2016 16:35:25 +0000 (18:35 +0200)]
fallout

7 years agoplugin mode still needs to work
Oliver Schneider [Wed, 17 Aug 2016 16:26:58 +0000 (18:26 +0200)]
plugin mode still needs to work

7 years agoMerge pull request #1173 from oli-obk/never_rustup
Oliver Schneider [Wed, 17 Aug 2016 16:10:33 +0000 (18:10 +0200)]
Merge pull request #1173 from oli-obk/never_rustup

rustup for the ! type

7 years agorunning cargo clippy on a crate that has the clippy plugin enabled errors out due...
Oliver Schneider [Wed, 17 Aug 2016 15:43:49 +0000 (17:43 +0200)]
running cargo clippy on a crate that has the clippy plugin enabled errors out due to duplicate lints

7 years agounify "test", "bench", "example" and "bin" into one branch
Oliver Schneider [Wed, 17 Aug 2016 15:43:21 +0000 (17:43 +0200)]
unify "test", "bench", "example" and "bin" into one branch

7 years agono println output
Oliver Schneider [Wed, 17 Aug 2016 15:42:59 +0000 (17:42 +0200)]
no println output

7 years agoalso run clippy on examples
Oliver Schneider [Wed, 17 Aug 2016 15:04:21 +0000 (17:04 +0200)]
also run clippy on examples

7 years agoversion bump and changelog update
Oliver Schneider [Wed, 17 Aug 2016 16:07:25 +0000 (18:07 +0200)]
version bump and changelog update

7 years agorustup for the ! type
Oliver Schneider [Wed, 17 Aug 2016 15:58:15 +0000 (17:58 +0200)]
rustup for the ! type

7 years agoMerge pull request #1170 from Manishearth/travis-gh-pages
llogiq [Wed, 17 Aug 2016 15:26:00 +0000 (17:26 +0200)]
Merge pull request #1170 from Manishearth/travis-gh-pages

Fix Travis not pushing gh-pages for tags

7 years agoMerge pull request #1172 from Manishearth/changelog
Manish Goregaokar [Wed, 17 Aug 2016 15:18:02 +0000 (20:48 +0530)]
Merge pull request #1172 from Manishearth/changelog

Add missing lints to CHANGELOG

7 years agoAdd missing lints to CHANGELOG
mcarton [Wed, 17 Aug 2016 15:13:28 +0000 (17:13 +0200)]
Add missing lints to CHANGELOG

7 years agoAdd "DirectX" and "OpenGL" to `doc_valid_idents`
mcarton [Wed, 17 Aug 2016 13:42:02 +0000 (15:42 +0200)]
Add "DirectX" and "OpenGL" to `doc_valid_idents`

7 years agoFix Travis not pushing gh-pages for tags
mcarton [Wed, 17 Aug 2016 13:25:21 +0000 (15:25 +0200)]
Fix Travis not pushing gh-pages for tags

Turns out $TRAVIS_BRANCH is the tag name for tags.

7 years agoMerge pull request #1168 from oli-obk/useless_lint_attributes
Oliver Schneider [Wed, 17 Aug 2016 10:23:31 +0000 (12:23 +0200)]
Merge pull request #1168 from oli-obk/useless_lint_attributes

disallow lint attributes on `use` and `extern crate` items

7 years agodisallow lint attributes on `use` and `extern crate` items
Oliver Schneider [Wed, 17 Aug 2016 09:36:04 +0000 (11:36 +0200)]
disallow lint attributes on `use` and `extern crate` items

7 years agoMerge pull request #1143 from birkenfeld/issue-455
Oliver Schneider [Wed, 17 Aug 2016 09:33:32 +0000 (11:33 +0200)]
Merge pull request #1143 from birkenfeld/issue-455

Lint print!("...\n") (closes #455)

7 years agoMerge pull request #1167 from Manishearth/rustup
Manish Goregaokar [Wed, 17 Aug 2016 03:54:28 +0000 (09:24 +0530)]
Merge pull request #1167 from Manishearth/rustup

Rustup to rustc 1.12.0-nightly (197be89f3 2016-08-15)

7 years agoBump to 0.0.82
Manish Goregaokar [Wed, 17 Aug 2016 03:48:15 +0000 (09:18 +0530)]
Bump to 0.0.82

7 years agomake clippy compile again with the latest nightly after rust-lang/rust@65eb024542835c...
Sascha Hanse [Tue, 16 Aug 2016 22:21:58 +0000 (00:21 +0200)]
make clippy compile again with the latest nightly after rust-lang/rust@65eb024542835c0235c31ef0e2381d155c797b03

7 years agoLint print!("...\n") (closes #455)
Georg Brandl [Fri, 5 Aug 2016 15:52:58 +0000 (17:52 +0200)]
Lint print!("...\n") (closes #455)

7 years agoMerge pull request #1164 from oli-obk/module_inception
llogiq [Tue, 16 Aug 2016 13:02:18 +0000 (15:02 +0200)]
Merge pull request #1164 from oli-obk/module_inception

lint modules that have the same name as their parent module

7 years agoaddress nits and improve docs
Oliver Schneider [Tue, 16 Aug 2016 12:36:48 +0000 (14:36 +0200)]
address nits and improve docs

7 years agolint modules that have the same name as their parent module
Oliver Schneider [Tue, 16 Aug 2016 12:29:21 +0000 (14:29 +0200)]
lint modules that have the same name as their parent module

7 years agoBump to 0.0.81
Manish Goregaokar [Sun, 14 Aug 2016 03:43:19 +0000 (09:13 +0530)]
Bump to 0.0.81

7 years agoMerge pull request #1162 from dtolnay/up
Manish Goregaokar [Sun, 14 Aug 2016 03:30:23 +0000 (09:00 +0530)]
Merge pull request #1162 from dtolnay/up

Update to rustc 1.12.0-nightly (1deb02ea6 2016-08-12)

7 years agoUpdate to rustc 1.12.0-nightly (1deb02ea6 2016-08-12)
David Tolnay [Sat, 13 Aug 2016 21:23:38 +0000 (14:23 -0700)]
Update to rustc 1.12.0-nightly (1deb02ea6 2016-08-12)

7 years agoMerge pull request #1158 from scurest/evalorder
Oliver Schneider [Thu, 11 Aug 2016 11:41:32 +0000 (13:41 +0200)]
Merge pull request #1158 from scurest/evalorder

Add lint for reads and writes that depend on evaluation order

7 years agoAdd lint for reads and writes that depend on evaluation order
scurest [Thu, 11 Aug 2016 03:16:28 +0000 (22:16 -0500)]
Add lint for reads and writes that depend on evaluation order

7 years agoMerge pull request #1151 from oli-obk/clone_ref
llogiq [Tue, 9 Aug 2016 04:30:25 +0000 (06:30 +0200)]
Merge pull request #1151 from oli-obk/clone_ref

add suggestions to clone_on_copy

7 years agoMerge pull request #1152 from oli-obk/wrong_self_conv_fn_level
llogiq [Mon, 8 Aug 2016 19:13:16 +0000 (21:13 +0200)]
Merge pull request #1152 from oli-obk/wrong_self_conv_fn_level

enable changing wrong_self_convention's lint level at the function level

7 years agoMerge pull request #1154 from oli-obk/no_dogfood_for_travis
Manish Goregaokar [Mon, 8 Aug 2016 16:18:29 +0000 (21:48 +0530)]
Merge pull request #1154 from oli-obk/no_dogfood_for_travis

don't run clippy on itself twice in travis

7 years agoMerge pull request #1153 from oli-obk/too_many_extern_fn_args
Manish Goregaokar [Mon, 8 Aug 2016 15:56:00 +0000 (21:26 +0530)]
Merge pull request #1153 from oli-obk/too_many_extern_fn_args

extern fns often need to adhere to a specific api -> don't suggest api changes

7 years agotravis bump
Oliver Schneider [Mon, 8 Aug 2016 15:53:07 +0000 (17:53 +0200)]
travis bump

7 years agoalso cache files in clippy_lints, necessary for testing cargo-clippy
Oliver Schneider [Mon, 8 Aug 2016 15:45:54 +0000 (17:45 +0200)]
also cache files in clippy_lints, necessary for testing cargo-clippy

7 years agodon't run clippy on itself twice in travis
Oliver Schneider [Mon, 8 Aug 2016 15:33:41 +0000 (17:33 +0200)]
don't run clippy on itself twice in travis

7 years agoextern fns often need to adhere to a specific api -> don't suggest api-changes
Oliver Schneider [Mon, 8 Aug 2016 15:21:47 +0000 (17:21 +0200)]
extern fns often need to adhere to a specific api -> don't suggest api-changes

7 years agoenable changing wrong_self_convention's lint level at the function level
Oliver Schneider [Mon, 8 Aug 2016 15:09:36 +0000 (17:09 +0200)]
enable changing wrong_self_convention's lint level at the function level

7 years agoadd suggestions to clone_on_copy
Oliver Schneider [Mon, 8 Aug 2016 14:43:45 +0000 (16:43 +0200)]
add suggestions to clone_on_copy

also:

* don't report clone_on_copy when reporting clone_on_double_ref
* don't suggest `((x))`

7 years agoMerge pull request #1150 from birkenfeld/remove-warning
Manish Goregaokar [Mon, 8 Aug 2016 11:49:59 +0000 (17:19 +0530)]
Merge pull request #1150 from birkenfeld/remove-warning

Remove "known problem" that only occurs without MIR.

7 years agoRemove "known problem" that only occurs without MIR.
Georg Brandl [Mon, 8 Aug 2016 11:37:39 +0000 (13:37 +0200)]
Remove "known problem" that only occurs without MIR.

Since clippy needs nightly, and nightly is MIR-by-default, we can
get rid of the warning.

7 years agoClose code block in docstring
Georg Brandl [Mon, 8 Aug 2016 11:34:21 +0000 (13:34 +0200)]
Close code block in docstring

7 years agoMerge pull request #1146 from birkenfeld/housekeeping
llogiq [Mon, 8 Aug 2016 11:27:12 +0000 (13:27 +0200)]
Merge pull request #1146 from birkenfeld/housekeeping

Some housekeeping on lint descriptions

7 years agoMake Python utils more idiomatic, use better names, fix -c mode of update_wiki.
Georg Brandl [Sat, 6 Aug 2016 08:40:35 +0000 (10:40 +0200)]
Make Python utils more idiomatic, use better names, fix -c mode of update_wiki.

7 years agoMake lint descriptions short and to the point; always fitting the column "triggers...
Georg Brandl [Sat, 6 Aug 2016 08:18:36 +0000 (10:18 +0200)]
Make lint descriptions short and to the point; always fitting the column "triggers on".

7 years agoMake the lint docstrings more consistent.
Georg Brandl [Sat, 6 Aug 2016 07:55:04 +0000 (09:55 +0200)]
Make the lint docstrings more consistent.

7 years agoINDEXING_SLICING should probably be a restriction lint.
Georg Brandl [Sat, 6 Aug 2016 06:56:28 +0000 (08:56 +0200)]
INDEXING_SLICING should probably be a restriction lint.

7 years agoMerge pull request #1145 from birkenfeld/issue-703-2
Manish Goregaokar [Sun, 7 Aug 2016 04:27:16 +0000 (09:57 +0530)]
Merge pull request #1145 from birkenfeld/issue-703-2

Lint literal suffixes not separated by underscores (idea also from #703)

7 years agoMerge pull request #1147 from birkenfeld/issue-1138
Manish Goregaokar [Sun, 7 Aug 2016 04:18:54 +0000 (09:48 +0530)]
Merge pull request #1147 from birkenfeld/issue-1138

Add a configurable threshold for enum variants before name lints trigger

7 years agoAdd a configurable threshold for enum variants before name lints trigger (fixes ...
Georg Brandl [Sat, 6 Aug 2016 18:59:27 +0000 (20:59 +0200)]
Add a configurable threshold for enum variants before name lints trigger (fixes #1138)

7 years agoLint literal suffixes not separated by underscores (see #703)
Georg Brandl [Fri, 5 Aug 2016 16:50:02 +0000 (18:50 +0200)]
Lint literal suffixes not separated by underscores (see #703)

7 years agoLint inconsistent casing in hex literals (closes #703)
Georg Brandl [Fri, 5 Aug 2016 16:30:07 +0000 (18:30 +0200)]
Lint inconsistent casing in hex literals (closes #703)

7 years agoMerge pull request #1132 from Manishearth/whitelist
Manish Goregaokar [Thu, 4 Aug 2016 05:33:07 +0000 (11:03 +0530)]
Merge pull request #1132 from Manishearth/whitelist

added OAuth and TrueType to doc whitelist

7 years agoadded OAuth and TrueType to doc whitelist
Andre Bogus [Wed, 3 Aug 2016 20:49:54 +0000 (22:49 +0200)]
added OAuth and TrueType to doc whitelist

7 years agoMerge pull request #1131 from JDemler/master
Manish Goregaokar [Wed, 3 Aug 2016 03:59:49 +0000 (09:29 +0530)]
Merge pull request #1131 from JDemler/master

No warning when file is opened with read truncate and write

7 years agoNo warning when file is opened with read truncate and write
Jakob Demler [Tue, 2 Aug 2016 20:57:32 +0000 (22:57 +0200)]
No warning when file is opened with read truncate and write

7 years agoMerge pull request #1129 from oli-obk/needless_ref
Manish Goregaokar [Mon, 1 Aug 2016 15:14:04 +0000 (20:44 +0530)]
Merge pull request #1129 from oli-obk/needless_ref

lint on needless ref in patterns

7 years agolint on by ref patterns for references
Oliver Schneider [Mon, 1 Aug 2016 14:59:14 +0000 (16:59 +0200)]
lint on by ref patterns for references

7 years agoMerge pull request #1126 from Manishearth/rustup
Oliver Schneider [Mon, 1 Aug 2016 13:21:41 +0000 (15:21 +0200)]
Merge pull request #1126 from Manishearth/rustup

 Rustup to rustc 1.12.0-nightly (1225e122f 2016-07-30)  and bump to 0.0.80

7 years agoBump to 0.0.80
mcarton [Sun, 31 Jul 2016 17:23:59 +0000 (19:23 +0200)]
Bump to 0.0.80

7 years agoRustup to rustc 1.12.0-nightly (1225e122f 2016-07-30)
mcarton [Sun, 31 Jul 2016 17:22:07 +0000 (19:22 +0200)]
Rustup to rustc 1.12.0-nightly (1225e122f 2016-07-30)

7 years agoMerge pull request #1125 from Manishearth/ipv4
Martin Carton [Sat, 30 Jul 2016 23:14:03 +0000 (01:14 +0200)]
Merge pull request #1125 from Manishearth/ipv4

Add `IPv4` and `IPv6` to the valid doc idents list

7 years agoAdd `IPv4` and `IPv6` to the valid doc idents list
mcarton [Sat, 30 Jul 2016 23:07:28 +0000 (01:07 +0200)]
Add `IPv4` and `IPv6` to the valid doc idents list

7 years agos/```/```rust when relevant
mcarton [Fri, 29 Jul 2016 18:36:33 +0000 (20:36 +0200)]
s/```/```rust when relevant

It looks better on the wiki/the new documentation page.

8 years agoMerge pull request #1118 from Manishearth/Manishearth-patch-1
Manish Goregaokar [Mon, 25 Jul 2016 05:47:48 +0000 (11:17 +0530)]
Merge pull request #1118 from Manishearth/Manishearth-patch-1

multirust -> rustup (fixes #1117)

8 years agomultirust -> rustup (fixes #1117)
Manish Goregaokar [Mon, 25 Jul 2016 05:47:34 +0000 (11:17 +0530)]
multirust -> rustup (fixes #1117)

8 years agoMerge pull request #1113 from oli-obk/assign_op
llogiq [Wed, 20 Jul 2016 15:48:38 +0000 (17:48 +0200)]
Merge pull request #1113 from oli-obk/assign_op

lint `a += a + b` (possible mis-refactoring of `a = a + b`)

8 years agoupdate lints
Oliver Schneider [Wed, 20 Jul 2016 15:34:58 +0000 (17:34 +0200)]
update lints

8 years agolint `a += a + b` (possible mis-refactoring of `a = a + b`)
Oliver Schneider [Wed, 20 Jul 2016 13:29:24 +0000 (15:29 +0200)]
lint `a += a + b` (possible mis-refactoring of `a = a + b`)

8 years agoget snippets inside the suggestions-closure
Oliver Schneider [Wed, 20 Jul 2016 11:29:01 +0000 (13:29 +0200)]
get snippets inside the suggestions-closure

8 years agoRevert "Maybe fix `deploy.sh`"
mcarton [Tue, 19 Jul 2016 21:08:41 +0000 (23:08 +0200)]
Revert "Maybe fix `deploy.sh`"

This reverts commit c6c85608613c6047752743513092aabecc5a472a.

8 years agoAdd encryption label to deploy.sh
mcarton [Tue, 19 Jul 2016 21:00:36 +0000 (23:00 +0200)]
Add encryption label to deploy.sh

Aka. “Fix deploy.sh IV”

8 years agoFix deploy.sh III
mcarton [Tue, 19 Jul 2016 20:48:52 +0000 (22:48 +0200)]
Fix deploy.sh III

8 years agoFix deploy.sh II
mcarton [Tue, 19 Jul 2016 20:42:09 +0000 (22:42 +0200)]
Fix deploy.sh II

8 years agoMaybe fix `deploy.sh`
mcarton [Tue, 19 Jul 2016 20:27:39 +0000 (22:27 +0200)]
Maybe fix `deploy.sh`

8 years agoMerge pull request #1109 from Manishearth/setup-gh-pages
Martin Carton [Tue, 19 Jul 2016 20:13:24 +0000 (22:13 +0200)]
Merge pull request #1109 from Manishearth/setup-gh-pages

Fix deploy.sh and python2 usage

8 years agoFix deploy.sh and python2 usage
mcarton [Tue, 19 Jul 2016 19:57:40 +0000 (21:57 +0200)]
Fix deploy.sh and python2 usage

8 years agoMerge pull request #1108 from Manishearth/setup-gh-pages
Martin Carton [Tue, 19 Jul 2016 19:56:15 +0000 (21:56 +0200)]
Merge pull request #1108 from Manishearth/setup-gh-pages

Add `deploy.sh` to `travis.toml`

8 years agoAdd `deploy.sh` to `travis.toml`
mcarton [Tue, 19 Jul 2016 19:51:51 +0000 (21:51 +0200)]
Add `deploy.sh` to `travis.toml`

8 years agoMerge pull request #1107 from Manishearth/setup-gh-pages
Martin Carton [Tue, 19 Jul 2016 19:49:06 +0000 (21:49 +0200)]
Merge pull request #1107 from Manishearth/setup-gh-pages

Setup gh-pages

8 years agoSetup automatic push of gh-pages
mcarton [Tue, 19 Jul 2016 19:25:46 +0000 (21:25 +0200)]
Setup automatic push of gh-pages

8 years agoMerge branch 'feature/gh-pages-docs' of https://github.com/killercup/rust-clippy...
mcarton [Tue, 19 Jul 2016 18:01:10 +0000 (20:01 +0200)]
Merge branch 'feature/gh-pages-docs' of https://github.com/killercup/rust-clippy into killercup-feature/gh-pages-docs

8 years agoMerge pull request #1093 from oli-obk/serde_specific_lint
llogiq [Mon, 18 Jul 2016 09:53:28 +0000 (11:53 +0200)]
Merge pull request #1093 from oli-obk/serde_specific_lint

lint on implementing `visit_string` without also implementing `visit_str`

8 years ago"fallout"
Oliver Schneider [Mon, 18 Jul 2016 09:19:45 +0000 (11:19 +0200)]
"fallout"

8 years agoadd an internal lint that catches misordered paths
Oliver Schneider [Mon, 18 Jul 2016 09:19:33 +0000 (11:19 +0200)]
add an internal lint that catches misordered paths

8 years agoUpdate README
mcarton [Sun, 17 Jul 2016 11:38:17 +0000 (13:38 +0200)]
Update README

8 years agoDogfood
mcarton [Sun, 17 Jul 2016 11:29:34 +0000 (13:29 +0200)]
Dogfood

8 years agoMerge pull request #1103 from Manishearth/doc-eta
Martin Carton [Sat, 16 Jul 2016 12:55:14 +0000 (14:55 +0200)]
Merge pull request #1103 from Manishearth/doc-eta

redundant closures don't allocate

8 years agoredundant closures don't allocate
Manish Goregaokar [Sat, 16 Jul 2016 12:55:00 +0000 (18:25 +0530)]
redundant closures don't allocate

8 years agoRun `./util/update_lints.py`
mcarton [Fri, 15 Jul 2016 22:30:08 +0000 (00:30 +0200)]
Run `./util/update_lints.py`

8 years agoImprove docs
mcarton [Fri, 15 Jul 2016 22:25:44 +0000 (00:25 +0200)]
Improve docs

8 years agoadd the path to the util::path module
Oliver Schneider [Fri, 15 Jul 2016 16:10:28 +0000 (18:10 +0200)]
add the path to the util::path module