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

8 years agoRemove unnecessary feature
Manish Goregaokar [Tue, 12 Jul 2016 14:51:45 +0000 (20:21 +0530)]
Remove unnecessary feature

8 years agoAdd First Draft of Lint Listing Page
Pascal Hertleif [Tue, 12 Jul 2016 12:11:18 +0000 (14:11 +0200)]
Add First Draft of Lint Listing Page

8 years agoMerge pull request #1083 from Manishearth/allow-large-arrays
Martin Carton [Tue, 12 Jul 2016 13:27:19 +0000 (15:27 +0200)]
Merge pull request #1083 from Manishearth/allow-large-arrays

Don't warn when boxing large arrays r? @mcarton

8 years agoDon't warn when boxing large arrays
Manish Goregaokar [Sun, 10 Jul 2016 13:23:50 +0000 (18:53 +0530)]
Don't warn when boxing large arrays

8 years agoMerge pull request #1084 from Manishearth/rustup
Martin Carton [Sun, 10 Jul 2016 13:48:38 +0000 (15:48 +0200)]
Merge pull request #1084 from Manishearth/rustup

 Rustup to rustc 1.12.0-nightly (f93aaf84c 2016-07-09)  and bump to 0.0.79

8 years agoBump to 0.0.79
mcarton [Sun, 10 Jul 2016 13:43:06 +0000 (15:43 +0200)]
Bump to 0.0.79

8 years agoRustup to rustc 1.12.0-nightly (f93aaf84c 2016-07-09)
mcarton [Sun, 10 Jul 2016 13:42:02 +0000 (15:42 +0200)]
Rustup to rustc 1.12.0-nightly (f93aaf84c 2016-07-09)

8 years agoMerge pull request #1082 from Manishearth/small-fixes
Manish Goregaokar [Sun, 10 Jul 2016 13:01:17 +0000 (18:31 +0530)]
Merge pull request #1082 from Manishearth/small-fixes

Small fixes

8 years agoLink to known issues for `MATCH_SAME_ARMS`
mcarton [Sun, 10 Jul 2016 12:53:42 +0000 (14:53 +0200)]
Link to known issues for `MATCH_SAME_ARMS`

8 years agoTry to explain `MATCH_SAME_ARMS` better
mcarton [Sun, 10 Jul 2016 12:46:39 +0000 (14:46 +0200)]
Try to explain `MATCH_SAME_ARMS` better

8 years agoFix suggestions for `NEW_WITHOUT_DEFAULT`
mcarton [Sun, 10 Jul 2016 12:07:13 +0000 (14:07 +0200)]
Fix suggestions for `NEW_WITHOUT_DEFAULT`

8 years agoFix FP with `for` loops and shadowed loop variable
mcarton [Sun, 10 Jul 2016 12:05:57 +0000 (14:05 +0200)]
Fix FP with `for` loops and shadowed loop variable

8 years agoMerge pull request #1060 from Manishearth/sugg
llogiq [Sat, 9 Jul 2016 22:06:30 +0000 (00:06 +0200)]
Merge pull request #1060 from Manishearth/sugg

Improve suggestions

8 years agoMerge pull request #1080 from sourcefrog/patch-2
Martin Carton [Sat, 9 Jul 2016 19:24:33 +0000 (21:24 +0200)]
Merge pull request #1080 from sourcefrog/patch-2

Fix Markdown syntax in description of collapsible_if

8 years agoFix Markdown syntax in description of collapsible_if
Martin Pool [Sat, 9 Jul 2016 19:20:54 +0000 (12:20 -0700)]
Fix Markdown syntax in description of collapsible_if

8 years agoMerge pull request #1074 from Manishearth/fix-doc
llogiq [Fri, 8 Jul 2016 23:40:28 +0000 (01:40 +0200)]
Merge pull request #1074 from Manishearth/fix-doc

Handle `/**` and `~~~` in `DOC_MARKDOWN`

8 years agoHandle `/**` and `~~~` in `DOC_MARKDOWN`
mcarton [Fri, 8 Jul 2016 16:18:45 +0000 (18:18 +0200)]
Handle `/**` and `~~~` in `DOC_MARKDOWN`

8 years agoMerge pull request #1072 from dashed/patch-1
Manish Goregaokar [Fri, 8 Jul 2016 05:30:57 +0000 (11:00 +0530)]
Merge pull request #1072 from dashed/patch-1

Add note on how to enable the optional dependency

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 agoAddress PR's comments
mcarton [Wed, 6 Jul 2016 13:36:42 +0000 (15:36 +0200)]
Address PR's comments

8 years agoMerge remote-tracking branch 'origin/master' into sugg
mcarton [Wed, 6 Jul 2016 12:54:10 +0000 (14:54 +0200)]
Merge remote-tracking branch 'origin/master' into sugg

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 agoMention the major sugg. refactoring in CHANGELOG
mcarton [Wed, 6 Jul 2016 12:38:48 +0000 (14:38 +0200)]
Mention the major sugg. refactoring in CHANGELOG

8 years agoUse `utils::sugg` in methods lints
mcarton [Tue, 5 Jul 2016 21:26:47 +0000 (23:26 +0200)]
Use `utils::sugg` in methods lints

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 agoUse `sugg::Sugg` in transmute links
mcarton [Mon, 4 Jul 2016 00:22:57 +0000 (02:22 +0200)]
Use `sugg::Sugg` in transmute links

8 years agoFix suggestions for `needless_bool`
mcarton [Sun, 3 Jul 2016 23:17:31 +0000 (01:17 +0200)]
Fix suggestions for `needless_bool`

8 years agoMerge branch 'master' into sugg
mcarton [Sun, 3 Jul 2016 21:56:06 +0000 (23:56 +0200)]
Merge branch 'master' into sugg

8 years agoUse `span_suggestion` in entry lints
mcarton [Sun, 3 Jul 2016 17:24:44 +0000 (19:24 +0200)]
Use `span_suggestion` in entry lints

8 years agoUse `utils::sugg` in `match` related lints
mcarton [Sun, 3 Jul 2016 17:13:01 +0000 (19:13 +0200)]
Use `utils::sugg` in `match` related lints

Also don't build suggestion when unnecessary.

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 agoUse `utils::sugg` in swap lints
mcarton [Sat, 2 Jul 2016 15:24:24 +0000 (17:24 +0200)]
Use `utils::sugg` in swap lints

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 agoCleanup
mcarton [Fri, 1 Jul 2016 19:01:56 +0000 (21:01 +0200)]
Cleanup

8 years agoUse `utils::sugg` in `FOR_KV_MAP`
mcarton [Fri, 1 Jul 2016 18:55:45 +0000 (20:55 +0200)]
Use `utils::sugg` in `FOR_KV_MAP`

8 years agoFix wrong suggestion with `...` and for loops
mcarton [Fri, 1 Jul 2016 17:31:14 +0000 (19:31 +0200)]
Fix wrong suggestion with `...` and for loops

8 years agoAdd more sugggestion-building functions
mcarton [Fri, 1 Jul 2016 17:30:38 +0000 (19:30 +0200)]
Add more sugggestion-building functions

8 years agoImprove `NEEDLESS_RANGE_LOOP` error reporting
mcarton [Fri, 1 Jul 2016 16:44:59 +0000 (18:44 +0200)]
Improve `NEEDLESS_RANGE_LOOP` error reporting

8 years agoIntroduce `multispan_sugg`
mcarton [Fri, 1 Jul 2016 16:38:50 +0000 (18:38 +0200)]
Introduce `multispan_sugg`

8 years agoRustup to ea0dc9297283daff6486807f43e190b4eb561412 III
mcarton [Fri, 1 Jul 2016 15:49:05 +0000 (17:49 +0200)]
Rustup to ea0dc9297283daff6486807f43e190b4eb561412 III

8 years agoMerge remote-tracking branch 'origin/rustup' into sugg
mcarton [Fri, 1 Jul 2016 15:48:57 +0000 (17:48 +0200)]
Merge remote-tracking branch 'origin/rustup' into sugg

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 agoOnly build suggestion if necessary in `USELESS_VEC`
mcarton [Thu, 30 Jun 2016 17:50:03 +0000 (19:50 +0200)]
Only build suggestion if necessary in `USELESS_VEC`

8 years agoMove `vec!` unexpanding function to `utils::higher`
mcarton [Thu, 30 Jun 2016 17:49:34 +0000 (19:49 +0200)]
Move `vec!` unexpanding function to `utils::higher`

8 years agoMove more functions to `utils::higher`
mcarton [Wed, 29 Jun 2016 22:08:43 +0000 (00:08 +0200)]
Move more functions to `utils::higher`

8 years agoMove `unsugar_range` to `utils::higher`
mcarton [Wed, 29 Jun 2016 21:16:44 +0000 (23:16 +0200)]
Move `unsugar_range` to `utils::higher`

8 years agoUse `util::sugg` in `TRANSMUTE_PTR_TO_REF`
mcarton [Wed, 29 Jun 2016 21:02:15 +0000 (23:02 +0200)]
Use `util::sugg` in `TRANSMUTE_PTR_TO_REF`

8 years agoImprove `TOPLEVEL_REF_ARG` message
mcarton [Wed, 29 Jun 2016 20:45:58 +0000 (22:45 +0200)]
Improve `TOPLEVEL_REF_ARG` message

8 years agoUse `utils::sugg` in `TOPLEVEL_REF_ARG`
mcarton [Wed, 29 Jun 2016 20:37:10 +0000 (22:37 +0200)]
Use `utils::sugg` in `TOPLEVEL_REF_ARG`

8 years agoCleanup
mcarton [Wed, 29 Jun 2016 20:35:58 +0000 (22:35 +0200)]
Cleanup

8 years agoUse `utils::sugg` in `MATCH_BOOL`
mcarton [Wed, 29 Jun 2016 19:50:21 +0000 (21:50 +0200)]
Use `utils::sugg` in `MATCH_BOOL`

8 years agoUse `utils::sugg` in `COLLAPSIBLE_IF`
mcarton [Wed, 29 Jun 2016 19:26:26 +0000 (21:26 +0200)]
Use `utils::sugg` in `COLLAPSIBLE_IF`

8 years agoUse `utils::sugg` in `FLOAT_CMP`
mcarton [Wed, 29 Jun 2016 19:25:23 +0000 (21:25 +0200)]
Use `utils::sugg` in `FLOAT_CMP`

8 years agoUse `utils::sugg` in `ASSIGN_OPS`
mcarton [Wed, 29 Jun 2016 19:24:20 +0000 (21:24 +0200)]
Use `utils::sugg` in `ASSIGN_OPS`

8 years agoAdd a module to pretty-print suggestions
mcarton [Wed, 29 Jun 2016 19:23:21 +0000 (21:23 +0200)]
Add a module to pretty-print suggestions

8 years agoUse `span_suggestion` in `FLOAT_CMP`
mcarton [Wed, 29 Jun 2016 17:47:51 +0000 (19:47 +0200)]
Use `span_suggestion` in `FLOAT_CMP`

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`