]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoMerge pull request #3186 from flip1995/pedantic_filter_map
Philipp Hansch [Fri, 14 Sep 2018 18:47:50 +0000 (19:47 +0100)]
Merge pull request #3186 from flip1995/pedantic_filter_map

Fix pedantic filter_map warnings

5 years agoReapply: "the cargo feature: edition 2018 is stabilized in current nightly"
flip1995 [Fri, 14 Sep 2018 11:39:23 +0000 (13:39 +0200)]
Reapply: "the cargo feature: edition 2018 is stabilized in current nightly"

This reapplies commit 404a09d.

Cargo got bumped in rust-lang/rust#54210

5 years agoFix pedantic filter_map warnings
flip1995 [Fri, 14 Sep 2018 10:56:25 +0000 (12:56 +0200)]
Fix pedantic filter_map warnings

5 years agoMerge pull request #3185 from matthiaskrgr/readme_travis
Philipp Hansch [Fri, 14 Sep 2018 09:54:37 +0000 (10:54 +0100)]
Merge pull request #3185 from matthiaskrgr/readme_travis

readme: show how to make the travis job fail when using clippy

5 years agoreadme: show how to make the travis job fail when using clippy
Matthias Krüger [Fri, 14 Sep 2018 09:21:27 +0000 (11:21 +0200)]
readme: show how to make the travis job fail when using clippy

5 years agoMerge pull request #3182 from phansch/explain_travis
Philipp Hansch [Fri, 14 Sep 2018 08:12:25 +0000 (09:12 +0100)]
Merge pull request #3182 from phansch/explain_travis

Explain Travis CI usage

5 years agoMerge pull request #3184 from rust-lang-nursery/rustup
Philipp Hansch [Fri, 14 Sep 2018 07:41:58 +0000 (08:41 +0100)]
Merge pull request #3184 from rust-lang-nursery/rustup

Add match on StructCtor

5 years agoAdd match on StructCtor
Manish Goregaokar [Fri, 14 Sep 2018 07:11:20 +0000 (12:41 +0530)]
Add match on StructCtor

5 years agoExplain Travis CI usage
Philipp Hansch [Fri, 14 Sep 2018 06:21:14 +0000 (08:21 +0200)]
Explain Travis CI usage

Closes #2432

5 years agoMerge pull request #3140 from matthiaskrgr/redundant_casts
Philipp Hansch [Thu, 13 Sep 2018 19:37:13 +0000 (20:37 +0100)]
Merge pull request #3140 from matthiaskrgr/redundant_casts

fix warnings about trivial casts, mostly {i,u}128 -> {i,u}128, such as "i128::min_value() as i128"

5 years agoMerge pull request #3174 from matthiaskrgr/RTU_clippy_cleanup
Philipp Krones [Thu, 13 Sep 2018 19:19:16 +0000 (21:19 +0200)]
Merge pull request #3174 from matthiaskrgr/RTU_clippy_cleanup

rustc_tools_util: clean up pedantic clippy warnings

5 years agoMerge pull request #3173 from phansch/update_issue_template
Philipp Hansch [Thu, 13 Sep 2018 18:09:45 +0000 (19:09 +0100)]
Merge pull request #3173 from phansch/update_issue_template

Update ISSUE_TEMPLATE

5 years agoMerge pull request #3165 from phansch/cleanup_readme_for_clippy_preview_on_stable
Philipp Hansch [Thu, 13 Sep 2018 18:06:26 +0000 (19:06 +0100)]
Merge pull request #3165 from phansch/cleanup_readme_for_clippy_preview_on_stable

Cleanup README for clippy-preview on stable

5 years agorustc_tools_util: clean up pedantic clippy warnings
Matthias Krüger [Thu, 13 Sep 2018 17:06:04 +0000 (19:06 +0200)]
rustc_tools_util: clean up pedantic clippy warnings

5 years agoUpdate ISSUE_TEMPLATE
Philipp Hansch [Thu, 13 Sep 2018 16:31:39 +0000 (18:31 +0200)]
Update ISSUE_TEMPLATE

5 years agoRemove rust-update script
Philipp Hansch [Tue, 11 Sep 2018 18:35:41 +0000 (20:35 +0200)]
Remove rust-update script

We no longer need this as clippy is installed through rustup now.

5 years agoCleanup README for clippy-preview on stable
Philipp Hansch [Tue, 11 Sep 2018 18:29:00 +0000 (20:29 +0200)]
Cleanup README for clippy-preview on stable

With the 1.29 release, the `clippy-preview` component will be available
on stable which means we don't need nightly/beta anymore.

5 years agoMerge pull request #3166 from flip1995/travis_internal
Philipp Hansch [Thu, 13 Sep 2018 16:22:48 +0000 (17:22 +0100)]
Merge pull request #3166 from flip1995/travis_internal

Run internal lints on the Clippy code base

5 years agoMerge pull request #3171 from rust-lang-nursery/README-tool-lints
Manish Goregaokar [Thu, 13 Sep 2018 09:36:54 +0000 (15:06 +0530)]
Merge pull request #3171 from rust-lang-nursery/README-tool-lints

README: More detailed explanation of tool_lints

5 years agoREADME: More detailed explanation of tool_lints
Philipp Krones [Thu, 13 Sep 2018 09:27:01 +0000 (11:27 +0200)]
README: More detailed explanation of tool_lints

cc #3164

5 years agofix warnings about trivial casts, mostly {i,u}128 -> {i,u}128, such as "i128::min_val...
Matthias Krüger [Thu, 6 Sep 2018 13:57:32 +0000 (15:57 +0200)]
fix warnings about trivial casts, mostly {i,u}128 -> {i,u}128, such as "i128::min_value() as i128"

5 years agoMerge pull request #3085 from mikerite/revert-98dbce
Philipp Hansch [Thu, 13 Sep 2018 05:33:26 +0000 (06:33 +0100)]
Merge pull request #3085 from mikerite/revert-98dbce

Revert "Fix E0502 warnings"

5 years agoMerge pull request #3169 from yangby-cryptape/fix-typo-in-examples
mikerite [Thu, 13 Sep 2018 05:24:41 +0000 (07:24 +0200)]
Merge pull request #3169 from yangby-cryptape/fix-typo-in-examples

Fix typo in examples.

5 years agoRemove a wrong suggestion.
Boyu Yang [Thu, 13 Sep 2018 05:01:23 +0000 (13:01 +0800)]
Remove a wrong suggestion.

5 years agoFix typo in examples.
Boyu Yang [Thu, 13 Sep 2018 03:51:58 +0000 (11:51 +0800)]
Fix typo in examples.

5 years agoChange Hash{Map, Set} to FxHash{Map, Set}
flip1995 [Tue, 11 Sep 2018 23:34:52 +0000 (01:34 +0200)]
Change Hash{Map, Set} to FxHash{Map, Set}

5 years agoFix lint_without_lint_pass lint
flip1995 [Tue, 11 Sep 2018 23:34:04 +0000 (01:34 +0200)]
Fix lint_without_lint_pass lint

5 years agoAlso run internal lints on the code base
flip1995 [Tue, 11 Sep 2018 23:33:28 +0000 (01:33 +0200)]
Also run internal lints on the code base

5 years agoRevert "the cargo feature: edition 2018 is stabilized in current nightly"
Oliver Schneider [Mon, 10 Sep 2018 14:02:17 +0000 (16:02 +0200)]
Revert "the cargo feature: edition 2018 is stabilized in current nightly"

This reverts commit 404a09d61cf7bc8e5d4e92ae9052a4e10d2ff07d.

5 years agoDon't use the old feature gate
Oliver Schneider [Mon, 10 Sep 2018 13:44:41 +0000 (15:44 +0200)]
Don't use the old  feature gate

5 years agoMerge pull request #3160 from matthiaskrgr/ed_2018
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Mon, 10 Sep 2018 11:57:55 +0000 (13:57 +0200)]
Merge pull request #3160 from matthiaskrgr/ed_2018

the cargo feature: edition 2018 is stabilized in current nightly

5 years agoMerge pull request #3152 from PSeitz/master
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Mon, 10 Sep 2018 11:44:47 +0000 (13:44 +0200)]
Merge pull request #3152 from PSeitz/master

fixes #3151 by skipping the lint instead of crashing

5 years agoadd spaces
Pascal Seitz [Mon, 10 Sep 2018 07:03:33 +0000 (09:03 +0200)]
add spaces

5 years agoMerge pull request #3157 from matthiaskrgr/Vinfo_impl_debug
Philipp Hansch [Mon, 10 Sep 2018 05:46:49 +0000 (06:46 +0100)]
Merge pull request #3157 from matthiaskrgr/Vinfo_impl_debug

impl std::fmt::Debug for VersionInfo

5 years agothe cargo feature: edition 2018 is stabilized in current nightly
Matthias Krüger [Mon, 10 Sep 2018 01:01:51 +0000 (03:01 +0200)]
the cargo feature: edition 2018 is stabilized in current nightly

5 years agoMerge pull request #3135 from JoshMcguigan/explicit_counter_loop-1219
Philipp Krones [Sun, 9 Sep 2018 21:49:03 +0000 (23:49 +0200)]
Merge pull request #3135 from JoshMcguigan/explicit_counter_loop-1219

Closes #1219 false positive for explicit_counter_loop

5 years agoimpl std::fmt::Debug for VersionInfo
Matthias Krüger [Sun, 9 Sep 2018 21:40:26 +0000 (23:40 +0200)]
impl std::fmt::Debug for VersionInfo

For clippy, this would print:
VersionInfo { crate_name: "clippy", major: 0, minor: 0, patch: 212, commit_hash: "084be7ba", commit_date: "2018-09-09" }

5 years agoMerge pull request #3148 from matthiaskrgr/rustc_tools_util_tests
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Sun, 9 Sep 2018 11:17:13 +0000 (13:17 +0200)]
Merge pull request #3148 from matthiaskrgr/rustc_tools_util_tests

rustc_tools_util: add tests

5 years agoMerge pull request #3149 from matthiaskrgr/test_3075
mikerite [Sun, 9 Sep 2018 05:15:39 +0000 (07:15 +0200)]
Merge pull request #3149 from matthiaskrgr/test_3075

add tests for #3057.

5 years agofixes #3151 by skipping the lint instead of crashing
Pascal Seitz [Sat, 8 Sep 2018 13:30:50 +0000 (15:30 +0200)]
fixes #3151 by skipping the lint instead of crashing

5 years agoMerge pull request #3150 from matthiaskrgr/crate_vis_feat
mikerite [Sat, 8 Sep 2018 07:28:38 +0000 (09:28 +0200)]
Merge pull request #3150 from matthiaskrgr/crate_vis_feat

clippy_lints: enable crate_visibility_modifier since it is used but no longer part of 2018 edition.

5 years agoadd tests for #3057 and #2651
Matthias Krüger [Fri, 7 Sep 2018 20:19:12 +0000 (22:19 +0200)]
add tests for #3057 and #2651

Fixes #3057
Fixes #2651

5 years agoCorrected explicit_counter_loop behavior with nested loops
Josh Mcguigan [Sat, 8 Sep 2018 03:46:36 +0000 (20:46 -0700)]
Corrected explicit_counter_loop behavior with nested loops

5 years agoFix #1219 false positive for explicit_counter_loop
Josh Mcguigan [Sat, 8 Sep 2018 02:58:19 +0000 (19:58 -0700)]
Fix #1219 false positive for explicit_counter_loop

5 years agoclippy_lints: enable crate_visibility_modifier since it is used but no longer part...
Matthias Krüger [Fri, 7 Sep 2018 23:32:40 +0000 (01:32 +0200)]
clippy_lints: enable crate_visibility_modifier since it is used but no longer part of 2018 edition.

Fixes build with https://github.com/rust-lang/rust/pull/53999

5 years agoMerge pull request #3146 from flip1995/fix-3145
Philipp Krones [Fri, 7 Sep 2018 18:30:05 +0000 (20:30 +0200)]
Merge pull request #3146 from flip1995/fix-3145

Fix 3145

5 years agorustc_tools_util: add test
Matthias Krüger [Fri, 7 Sep 2018 17:06:02 +0000 (19:06 +0200)]
rustc_tools_util: add test

5 years agorustc_tools_util: don't hardcode crate name
Matthias Krüger [Fri, 7 Sep 2018 16:03:03 +0000 (18:03 +0200)]
rustc_tools_util: don't hardcode crate name

5 years agoAdd regression test
flip1995 [Fri, 7 Sep 2018 15:18:47 +0000 (17:18 +0200)]
Add regression test

5 years agoFix #3145 by removing assert
flip1995 [Fri, 7 Sep 2018 15:18:00 +0000 (17:18 +0200)]
Fix #3145 by removing assert

5 years agoUpdated explicit_counter_loop tests based on discussion in #3135
Josh Mcguigan [Fri, 7 Sep 2018 12:32:56 +0000 (05:32 -0700)]
Updated explicit_counter_loop tests based on discussion in #3135

5 years agoMerge pull request #3129 from mipli/3091-numeric-typo
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Fri, 7 Sep 2018 07:54:43 +0000 (09:54 +0200)]
Merge pull request #3129 from mipli/3091-numeric-typo

Add lint for misstyped literal casting

5 years agoMerge pull request #3137 from matthiaskrgr/clippy_git_version
Philipp Hansch [Thu, 6 Sep 2018 17:21:14 +0000 (18:21 +0100)]
Merge pull request #3137 from matthiaskrgr/clippy_git_version

print git commit hash and commit date in version output

5 years agoMerge pull request #3139 from matthiaskrgr/toml_clippy_dev_warn
Philipp Hansch [Thu, 6 Sep 2018 17:15:41 +0000 (18:15 +0100)]
Merge pull request #3139 from matthiaskrgr/toml_clippy_dev_warn

Cargo.toml: remove clippy-dev entry referencing src/main.rs as its main.rs

5 years agoMerge pull request #3138 from matthiaskrgr/3126__no_warn_multi_newline
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Thu, 6 Sep 2018 15:41:23 +0000 (17:41 +0200)]
Merge pull request #3138 from matthiaskrgr/3126__no_warn_multi_newline

print_with_newline / write_with_newline: don't warn about string with several `\n`s in them.

5 years agoSimplified boolean expression for checking literal suffixes
Michael A. Plikk [Thu, 6 Sep 2018 15:19:38 +0000 (17:19 +0200)]
Simplified boolean expression for checking literal suffixes

5 years agoReduce number of split_at calls
Michael A. Plikk [Thu, 6 Sep 2018 14:26:17 +0000 (16:26 +0200)]
Reduce number of split_at calls

5 years agoCorrected explicit_counter_loop missing lints if variable used after loop
Josh Mcguigan [Thu, 6 Sep 2018 13:20:25 +0000 (06:20 -0700)]
Corrected explicit_counter_loop missing lints if variable used after loop

5 years agoprint git commit hash and commit date in version output
Matthias Krüger [Thu, 6 Sep 2018 06:19:47 +0000 (08:19 +0200)]
print git commit hash and commit date in version output

clippy 0.0.212 (964fcbe0 2018-09-06)

5 years agoCargo.toml: remove clippy-dev entry referencing src/main.rs as its main.rs.
Matthias Krüger [Thu, 6 Sep 2018 11:03:38 +0000 (13:03 +0200)]
Cargo.toml: remove clippy-dev entry referencing src/main.rs as its main.rs.

Resolves warning:
warning: file found to be present in multiple build targets: ./src/main.rs

5 years agoprint_with_newline / write_with_newline: don't warn about string with several `\n...
Matthias Krüger [Thu, 6 Sep 2018 10:55:04 +0000 (12:55 +0200)]
print_with_newline / write_with_newline: don't warn about string with several `\n`s in them.

Fixes #3126

5 years agorustfmt clippy_lints/src/write.rs
Matthias Krüger [Thu, 6 Sep 2018 10:33:00 +0000 (12:33 +0200)]
rustfmt clippy_lints/src/write.rs

5 years agoMerge pull request #3136 from mikerite/driver-rustc-arg-2
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Thu, 6 Sep 2018 07:26:11 +0000 (09:26 +0200)]
Merge pull request #3136 from mikerite/driver-rustc-arg-2

driver: Improve check for rustc arg

5 years agoMerge pull request #2985 from phansch/riir_update_lints
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Thu, 6 Sep 2018 07:24:26 +0000 (09:24 +0200)]
Merge pull request #2985 from phansch/riir_update_lints

update_lints rewrite: Add structure and --print-only

5 years agoPass by ref instead of value
Philipp Hansch [Thu, 6 Sep 2018 06:19:09 +0000 (08:19 +0200)]
Pass by ref instead of value

5 years agoMore refactoring
Philipp Hansch [Wed, 5 Sep 2018 18:32:26 +0000 (20:32 +0200)]
More refactoring

5 years agoMerge pull request #3133 from matthiaskrgr/link
Philipp Hansch [Thu, 6 Sep 2018 05:10:45 +0000 (07:10 +0200)]
Merge pull request #3133 from matthiaskrgr/link

remove "clippy::" lint prefix from lint name in doc url.

5 years agodriver: Improve check for rustc arg
Michael Wright [Thu, 6 Sep 2018 05:01:56 +0000 (07:01 +0200)]
driver: Improve check for rustc arg

The rustc arg might not be exactly "rustc". It may be any path to a rustc
executable (especially if the RUSTC environment variable is set when
executing cargo). Rather check that it is a path with 'rustc' file stem.

5 years agoCloses #1219 false positive for explicit_counter_loop
Josh Mcguigan [Thu, 6 Sep 2018 02:14:01 +0000 (19:14 -0700)]
Closes #1219 false positive for explicit_counter_loop

5 years agoremove "clippy::" lint prefix from lint name in doc url.
Matthias Krüger [Wed, 5 Sep 2018 22:45:57 +0000 (00:45 +0200)]
remove "clippy::" lint prefix from lint name in doc url.

Fixes #3132

5 years agoAdd lint for misstyped literal casting
Michael A. Plikk [Sun, 2 Sep 2018 21:07:55 +0000 (23:07 +0200)]
Add lint for misstyped literal casting

5 years agoMerge pull request #3131 from JoshMcguigan/ptr_arg-2293
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Wed, 5 Sep 2018 14:22:03 +0000 (16:22 +0200)]
Merge pull request #3131 from JoshMcguigan/ptr_arg-2293

Fix #2293 - ptr_arg

5 years agoAdded test case for ptr_arg
Josh Mcguigan [Wed, 5 Sep 2018 12:59:07 +0000 (05:59 -0700)]
Added test case for ptr_arg

5 years agoRemove duplicated .gitignore
Philipp Hansch [Wed, 5 Sep 2018 11:35:57 +0000 (13:35 +0200)]
Remove duplicated .gitignore

5 years agoReturn impl Iterator instead of Vec<Lint>
Philipp Hansch [Wed, 5 Sep 2018 11:34:28 +0000 (13:34 +0200)]
Return impl Iterator instead of Vec<Lint>

This makes the API of `lib.rs` a bit more flexible.

5 years agoMerge pull request #3108 from daubaris/range-plus-one
Philipp Krones [Tue, 4 Sep 2018 19:13:30 +0000 (21:13 +0200)]
Merge pull request #3108 from daubaris/range-plus-one

range_plus_one suggestion should not remove braces fix

5 years agoswitched to ticks for chars
daubaris [Tue, 4 Sep 2018 15:56:48 +0000 (18:56 +0300)]
switched to ticks for chars

5 years agoMerge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range...
daubaris [Tue, 4 Sep 2018 15:52:18 +0000 (18:52 +0300)]
Merge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range-plus-one

5 years agoMerge pull request #3125 from nrc/pub-conf
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Tue, 4 Sep 2018 08:09:38 +0000 (10:09 +0200)]
Merge pull request #3125 from nrc/pub-conf

Make `Default` do what `default` used to do

5 years agoMerge pull request #3124 from phansch/cleanup_old_min_version_stuff
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Tue, 4 Sep 2018 08:09:10 +0000 (10:09 +0200)]
Merge pull request #3124 from phansch/cleanup_old_min_version_stuff

Cleanup old min_version stuff

5 years agoMerge pull request #3109 from shssoichiro/3034-needless-collect
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Tue, 4 Sep 2018 08:07:11 +0000 (10:07 +0200)]
Merge pull request #3109 from shssoichiro/3034-needless-collect

Lint against needless uses of `collect()`

5 years agoDelete needless file
Josh Holmer [Sat, 1 Sep 2018 15:07:18 +0000 (11:07 -0400)]
Delete needless file

5 years agoMore if_chain
Josh Holmer [Tue, 4 Sep 2018 03:58:10 +0000 (23:58 -0400)]
More if_chain

5 years agoRustup
Josh Holmer [Tue, 4 Sep 2018 03:50:24 +0000 (23:50 -0400)]
Rustup

5 years agoApply applicability
Josh Holmer [Fri, 31 Aug 2018 22:26:04 +0000 (18:26 -0400)]
Apply applicability

5 years agoMajority of PR changes
Josh Holmer [Fri, 31 Aug 2018 22:14:33 +0000 (18:14 -0400)]
Majority of PR changes

5 years agoLint against needless uses of `collect()`
Josh Holmer [Thu, 30 Aug 2018 03:01:24 +0000 (23:01 -0400)]
Lint against needless uses of `collect()`

Handles cases of `.collect().len()`, `.collect().is_empty()`, and
`.collect().contains()`. This lint is intended to be generic enough to
be added to at a later time with other similar patterns that could be
optimized.

Closes #3034

5 years agoMake `Default` do what `default` used to do
Nick Cameron [Mon, 3 Sep 2018 21:12:50 +0000 (09:12 +1200)]
Make `Default` do what `default` used to do

5 years agoCleanup old min_version stuff
Philipp Hansch [Mon, 3 Sep 2018 20:27:35 +0000 (22:27 +0200)]
Cleanup old min_version stuff

This cleans up a few leftover things after
https://github.com/rust-lang-nursery/rust-clippy/pull/3018

5 years agoRun clippy on clippy_dev, too
Philipp Hansch [Sun, 2 Sep 2018 08:13:53 +0000 (10:13 +0200)]
Run clippy on clippy_dev, too

5 years agoRefactor to use into_group_map from Itertools
Philipp Hansch [Sun, 2 Sep 2018 07:45:13 +0000 (09:45 +0200)]
Refactor to use into_group_map from Itertools

5 years agos/direntry/dir_entry
Philipp Hansch [Thu, 30 Aug 2018 06:00:16 +0000 (08:00 +0200)]
s/direntry/dir_entry

5 years agoUse insignificant whitespace mode for nice regex
Philipp Hansch [Thu, 30 Aug 2018 05:57:54 +0000 (07:57 +0200)]
Use insignificant whitespace mode for nice regex

5 years agocargo update in clippy_dev
Philipp Hansch [Thu, 30 Aug 2018 05:57:11 +0000 (07:57 +0200)]
cargo update in clippy_dev

5 years agoupdate_lints rewrite: Add structure and --print-only
Philipp Hansch [Tue, 17 Jul 2018 20:50:17 +0000 (22:50 +0200)]
update_lints rewrite: Add structure and --print-only

5 years agofixed known problems expression
daubaris [Mon, 3 Sep 2018 20:01:28 +0000 (23:01 +0300)]
fixed known problems expression

5 years agoMerge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range...
daubaris [Mon, 3 Sep 2018 15:24:47 +0000 (18:24 +0300)]
Merge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range-plus-one

5 years agobackticks and testcase
daubaris [Mon, 3 Sep 2018 15:24:38 +0000 (18:24 +0300)]
backticks and testcase

5 years agoMerge pull request #3092 from illicitonion/issue-2879
Philipp Hansch [Mon, 3 Sep 2018 15:24:33 +0000 (17:24 +0200)]
Merge pull request #3092 from illicitonion/issue-2879

default_trait_access skips <F as Default>::default()

5 years agoMerge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range...
daubaris [Mon, 3 Sep 2018 14:21:13 +0000 (17:21 +0300)]
Merge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy into range-plus-one