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

8 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)

8 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)

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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)

8 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

8 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

8 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

8 years agoMerge pull request #1102 from Manishearth/fix-1100
Martin Carton [Fri, 15 Jul 2016 13:39:49 +0000 (15:39 +0200)]
Merge pull request #1102 from Manishearth/fix-1100

Fix position of mut in toplevel-ref-arg (fixes #1100, again)

8 years agoFix position of mut in toplevel-ref-arg (fixes #1100, again)
Manish Goregaokar [Fri, 15 Jul 2016 13:32:41 +0000 (19:02 +0530)]
Fix position of mut in toplevel-ref-arg (fixes #1100, again)

8 years agoMerge pull request #1101 from Manishearth/fix-1100
Martin Carton [Fri, 15 Jul 2016 12:41:28 +0000 (14:41 +0200)]
Merge pull request #1101 from Manishearth/fix-1100

Suggest mutability and fix type in toplevel-ref-arg

8 years agoSuggest mutability and fix type in toplevel-ref-arg
Manish Goregaokar [Fri, 15 Jul 2016 12:22:34 +0000 (17:52 +0530)]
Suggest mutability and fix type in toplevel-ref-arg

8 years agoAdd EditorConfig
Pascal Hertleif [Fri, 15 Jul 2016 11:08:21 +0000 (13:08 +0200)]
Add EditorConfig

8 years agoAdd Level 'Deprecated'
Pascal Hertleif [Fri, 15 Jul 2016 11:08:13 +0000 (13:08 +0200)]
Add Level 'Deprecated'

8 years agoHMTL Docs: Add Configuration, Fix Example Section
Pascal Hertleif [Fri, 15 Jul 2016 11:08:04 +0000 (13:08 +0200)]
HMTL Docs: Add Configuration, Fix Example Section

8 years agoFix markdown in CHANGELOG
mcarton [Fri, 15 Jul 2016 10:32:21 +0000 (12:32 +0200)]
Fix markdown in CHANGELOG

8 years agoFormat code for methods lints
mcarton [Thu, 14 Jul 2016 20:52:01 +0000 (22:52 +0200)]
Format code for methods lints

8 years agoMerge pull request #1099 from Manishearth/fix
llogiq [Thu, 14 Jul 2016 19:32:45 +0000 (21:32 +0200)]
Merge pull request #1099 from Manishearth/fix

Some small fixes

8 years agoAdjust HTML Docs
Pascal Hertleif [Thu, 14 Jul 2016 19:00:20 +0000 (21:00 +0200)]
Adjust HTML Docs

- Section IDs, with handy anchor links
- Multiple filters for levels
- Table rendering, block quote size
- Nicer loading (hide un-rendered content)
- Code highlighting (only for Rust, of course!)
- Fix parsing of descriptions that have a newline after the section
  title (lead to duplicating the title, e.g., "Examples", in the
  content)

8 years agoFix FP with `USELESS_VEC` and non-copy types
mcarton [Thu, 14 Jul 2016 17:31:17 +0000 (19:31 +0200)]
Fix FP with `USELESS_VEC` and non-copy types

8 years agoFix suggestion spans for `NEEDLESS_RETURN`
mcarton [Thu, 14 Jul 2016 16:32:09 +0000 (18:32 +0200)]
Fix suggestion spans for `NEEDLESS_RETURN`

8 years agoFix `MANY_SINGLE_CHAR_NAMES`'s docs
mcarton [Thu, 14 Jul 2016 15:42:40 +0000 (17:42 +0200)]
Fix `MANY_SINGLE_CHAR_NAMES`'s docs

8 years agoMerge pull request #1096 from cramertj/1086-negative-zero
Oliver Schneider [Thu, 14 Jul 2016 11:13:11 +0000 (13:13 +0200)]
Merge pull request #1096 from cramertj/1086-negative-zero

Fix #1086-Added sign check on Constant f64 PartialEq implementation

8 years agoFix different NaNs in if const expressions test
Taylor Cramer [Wed, 13 Jul 2016 17:02:28 +0000 (10:02 -0700)]
Fix different NaNs in if const expressions test

8 years agoCheck for comparison of -0.0 and 0.0 in PartialOrd for Constant
Taylor Cramer [Wed, 13 Jul 2016 16:55:16 +0000 (09:55 -0700)]
Check for comparison of -0.0 and 0.0 in PartialOrd for Constant

8 years agoAdd test for different NaNs
Taylor Cramer [Wed, 13 Jul 2016 16:35:31 +0000 (09:35 -0700)]
Add test for different NaNs

8 years agoChange floating point constant to mem::transmute u64 comparison
Taylor Cramer [Wed, 13 Jul 2016 07:59:35 +0000 (00:59 -0700)]
Change floating point constant to mem::transmute u64 comparison

8 years agoAdded sign check on Constant f64 PartialEq implementation
Taylor Cramer [Wed, 13 Jul 2016 07:43:33 +0000 (00:43 -0700)]
Added sign check on Constant f64 PartialEq implementation

8 years agolint on implementing `visit_string` without also implementing `visit_str`
Oliver Schneider [Tue, 12 Jul 2016 15:36:11 +0000 (17:36 +0200)]
lint on implementing `visit_string` without also implementing `visit_str`

8 years agoMerge pull request #1092 from Manishearth/fx
Martin Carton [Tue, 12 Jul 2016 15:03:05 +0000 (17:03 +0200)]
Merge pull request #1092 from Manishearth/fx

Remove unnecessary feature