]>
git.lizzy.rs Git - rust.git/log
bors[bot] [Fri, 2 Nov 2018 11:30:03 +0000 (11:30 +0000)]
Merge #3402
3402: clippy: fix pedantic warnings and run clippy::pedantic lints on the codebase r=oli-obk a=matthiaskrgr
Turn on pedantic lints in dogfood and base tests.
needless_bool: fix clippy::items-after-statements
redundant_pattern_matching: fix clippy::similar-names
mods.rs: fix clippy::explicit-iter-loop
returns.rs: allow clippy::cast-possible-wrap
Fixes #3172
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Matthias Krüger [Fri, 2 Nov 2018 11:12:14 +0000 (12:12 +0100)]
clippy: fix pedantic warnings and run clippy::pedantic lints on the codebase.
Turn on pedantic lints in dogfood and base tests.
needless_bool: fix clippy::items-after-statements
redundant_pattern_matching: fix clippy::similar-names
mods.rs: fix clippy::explicit-iter-loop
returns.rs: allow clippy::cast-possible-wrap
Fixes #3172
bors[bot] [Fri, 2 Nov 2018 07:58:00 +0000 (07:58 +0000)]
Merge #3387
3387: Replace big if/else expression with match r=flip1995 a=mikerite
Co-authored-by: Michael Wright <mikerite@lavabit.com>
bors[bot] [Fri, 2 Nov 2018 07:34:38 +0000 (07:34 +0000)]
Merge #3397 #3398
3397: UI test cleanup: Extract expect_fun_call tests r=matthiaskrgr a=phansch
Note that the new stderr file does not include a `shadow-unrelated`
error, because the new UI test file does not use `#![warn(clippy::all)]`
cc #2038
3398: UI test cleanup: Extract match_overlapping_arm tests r=matthiaskrgr a=phansch
cc #2038
Co-authored-by: Philipp Hansch <dev@phansch.net>
bors[bot] [Fri, 2 Nov 2018 06:29:40 +0000 (06:29 +0000)]
Merge #3388
3388: RIIR update lints: Generate deprecated lints r=phansch a=phansch
The update script now also generates the 'register_removed' section in
`clippy_lints/src/lib.rs`.
Also, instead of using `let mut store ...`, I added a new identifier
line so that the replacement will continue to work in case `let mut
store ...` ever changes.
cc #2882
Co-authored-by: Philipp Hansch <dev@phansch.net>
Philipp Hansch [Tue, 30 Oct 2018 20:36:52 +0000 (21:36 +0100)]
UI test cleanup: Extract match_overlapping_arm tests
Philipp Hansch [Tue, 30 Oct 2018 20:21:23 +0000 (21:21 +0100)]
UI test cleanup: Extract expect_fun_call tests
Note that the new stderr file does not include a `shadow-unrelated`
error, because the new UI test file does not use `#![warn(clippy::all)]`
bors[bot] [Fri, 2 Nov 2018 05:49:49 +0000 (05:49 +0000)]
Merge #3389
3389: ci: when installing rust-toolchain-installer-master, install it in debug mode to save some time on ci. r=phansch a=matthiaskrgr
the compiletime optimizations probably take longer than the speedup we get when executing the optimized binary vs debug build.
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Manish Goregaokar [Thu, 1 Nov 2018 21:24:36 +0000 (14:24 -0700)]
Merge pull request #3395 from phansch/add_missing_coc_file
Add missing code of conduct file
Manish Goregaokar [Thu, 1 Nov 2018 20:57:27 +0000 (13:57 -0700)]
Merge pull request #3394 from phansch/rustup
Fix clippy build failure on latest master
Philipp Hansch [Thu, 1 Nov 2018 20:31:05 +0000 (21:31 +0100)]
Add missing code of conduct file
We are already using the Rust code of conduct, this just ticks off an
additional checkbox [here][community].
This version is taken from [rustfmt][rustfmt].
[community]: https://github.com/rust-lang-nursery/rust-clippy/community
[rustfmt]: https://github.com/rust-lang-nursery/rustfmt
Philipp Hansch [Thu, 1 Nov 2018 19:35:23 +0000 (20:35 +0100)]
Fix clippy build failure on latest master
Michael Wright [Thu, 1 Nov 2018 05:06:47 +0000 (07:06 +0200)]
Use slice patterns instead of padding
bors[bot] [Wed, 31 Oct 2018 21:08:34 +0000 (21:08 +0000)]
Merge #3392
3392: UI test cleanup: Extract for_loop_over_x tests r=matthiaskrgr a=phansch
cc #2038
Co-authored-by: Philipp Hansch <dev@phansch.net>
Philipp Hansch [Wed, 31 Oct 2018 20:54:30 +0000 (21:54 +0100)]
Fix dogfood and pedantic lints
bors[bot] [Wed, 31 Oct 2018 10:21:51 +0000 (10:21 +0000)]
Merge #3368
3368: added downsides to "known problems" for get_unwrap lint r=flip1995 a=humean
As a beginner I found this lint to be confusing because I was not sure how the `Option` type disappeared as conceptually I know that my `.get()` and Index could fail. Initially I thought maybe the compiler or clippy was smart enough to understand that it was impossible for my `.get()` to fail in this particular case, but it was explained to me that using the Index syntax is just shorthand for directly unwrapping the value:
https://doc.rust-lang.org/src/std/collections/hash/map.rs.html#1547
For beginners or users trying to iterate quickly it seems common to litter your code with `unwrap` or `except` as placeholders for where some explicit error handling might need to take place. I think it should be warned that using Index is merely more concise, but doesn't at all reduce the risk of panics and might in fact cause you to miss handling them in a future refactor.
Co-authored-by: Michael Rutter <michael.john.rutter@gmail.com>
Co-authored-by: Michael Rutter <humean@users.noreply.github.com>
Matthias Krüger [Wed, 31 Oct 2018 10:18:20 +0000 (11:18 +0100)]
ci: when installing rust-toolchain-installer-master, install it in debug mode to save some time in ci.
the compiletime optimizations probably take longer than the speedup we get when executing the optimized binary vs debug build.
bors[bot] [Wed, 31 Oct 2018 07:18:42 +0000 (07:18 +0000)]
Merge #3378
3378: Fix lint_without_lint_pass r=phansch a=mikerite
Co-authored-by: Michael Wright <mikerite@lavabit.com>
Co-authored-by: flip1995 <hello@philkrones.com>
Philipp Hansch [Wed, 31 Oct 2018 07:03:50 +0000 (08:03 +0100)]
RIIR update lints: Generate deprecated lints
The update script now also generates the 'register_removed' section in
`clippy_lints/src/lib.rs`.
Also, instead of using `let mut store ...`, I added a new identifier
line so that the replacement will continue to work in case `let mut
store ...` ever changes.
bors[bot] [Wed, 31 Oct 2018 06:48:49 +0000 (06:48 +0000)]
Merge #3370
3370: bool_comparison triggers 3 times on same code r=phansch a=mrbuzz
Fix #3335
Co-authored-by: Giorgio Gambino <gambnio.giorgio@gmail.com>
bors[bot] [Wed, 31 Oct 2018 06:03:33 +0000 (06:03 +0000)]
Merge #3386
3386: docs: use_self: hightlight the "should be" code sample as rust code as well. r=phansch a=matthiaskrgr
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Michael Wright [Wed, 31 Oct 2018 04:26:29 +0000 (06:26 +0200)]
Replace big if/else expression with match
bors[bot] [Wed, 31 Oct 2018 01:29:36 +0000 (01:29 +0000)]
Merge #3384
3384: make ci use master rustc instead of nightly r=flip1995 a=matthiaskrgr
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Matthias Krüger [Tue, 30 Oct 2018 14:58:35 +0000 (15:58 +0100)]
Revert "travis: work around temporary test failure due to rustc crashing on hyper."
This reverts commit
326270ad1221b54028f9d029881fa0b1fb742db9 .
Matthias Krüger [Tue, 30 Oct 2018 14:42:15 +0000 (15:42 +0100)]
Revert "appveyor: use rustc nightly instead of master"
This reverts commit
3f0161918871403b4e0547191a93f395b8bf5b35 .
Matthias Krüger [Tue, 30 Oct 2018 14:41:59 +0000 (15:41 +0100)]
Revert "Disable rust master toolchain build temporarily"
This reverts commit
0d899562cd805bd4335d6ee8d88e2bf1f743f000 .
Matthias Krüger [Wed, 31 Oct 2018 00:42:17 +0000 (01:42 +0100)]
docs: use_self: hightlight the "should be" code sample as rust code as well.
Philipp Hansch [Tue, 30 Oct 2018 20:25:34 +0000 (21:25 +0100)]
UI test cleanup: Extract for_loop_over_x tests
Manish Goregaokar [Tue, 30 Oct 2018 04:23:18 +0000 (04:23 +0000)]
Merge pull request #3382 from rust-lang-nursery/rustup
Rustup to rustc 1.31.0-nightly (
fb2446ad5 2018-10-30)
Manish Goregaokar [Tue, 30 Oct 2018 04:06:37 +0000 (04:06 +0000)]
Rustup to rustc 1.31.0-nightly (
fb2446ad5 2018-10-30)
Giorgio Gambino [Mon, 29 Oct 2018 21:23:45 +0000 (22:23 +0100)]
Fix #3335 rev2: bool_comparison triggers 3 times on same code
flip1995 [Mon, 29 Oct 2018 19:55:52 +0000 (20:55 +0100)]
Update .stderr file
flip1995 [Mon, 29 Oct 2018 19:54:21 +0000 (20:54 +0100)]
Register MISTYPED_LITERAL_SUFFIXES lint
flip1995 [Mon, 29 Oct 2018 19:37:47 +0000 (20:37 +0100)]
Rewrite registered lint collection
Michael Wright [Fri, 12 Oct 2018 06:09:04 +0000 (08:09 +0200)]
Fix lint_without_lint_pass
bors[bot] [Mon, 29 Oct 2018 11:45:03 +0000 (11:45 +0000)]
Merge #3380
3380: compiletest: clean rmeta data (from "cargo check") before running compiletest r=phansch a=matthiaskrgr
Fixes #2896
Fixes #2139
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Matthias Krüger [Mon, 29 Oct 2018 09:27:40 +0000 (10:27 +0100)]
compiletest: clean rmeta data (from "cargo check") before running compiletest.
Fixes #2896
Fixes #2139
bors[bot] [Mon, 29 Oct 2018 10:44:16 +0000 (10:44 +0000)]
Merge #3379
3379: dependencies: bump compiletest-rs from git to 0.3.16 r=phansch a=matthiaskrgr
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Matthias Krüger [Mon, 29 Oct 2018 08:52:49 +0000 (09:52 +0100)]
dependencies: bump compiletest-rs from git to 0.3.16
bors[bot] [Sun, 28 Oct 2018 22:52:21 +0000 (22:52 +0000)]
Merge #3373
3373: UI test cleanup: Extract unnecessary_operation tests r=matthiaskrgr a=phansch
cc #2038
Co-authored-by: Philipp Hansch <dev@phansch.net>
bors[bot] [Sun, 28 Oct 2018 22:19:11 +0000 (22:19 +0000)]
Merge #3372
3372: UI test cleanup: Extract explicit_counter_loop tests r=matthiaskrgr a=phansch
cc #2038
Co-authored-by: Philipp Hansch <dev@phansch.net>
Philipp Hansch [Sat, 27 Oct 2018 17:16:43 +0000 (19:16 +0200)]
UI test cleanup: Extract explicit_counter_loop tests
Philipp Hansch [Sat, 27 Oct 2018 17:31:47 +0000 (19:31 +0200)]
UI test cleanup: Extract unnecessary_operation tests
bors[bot] [Sun, 28 Oct 2018 17:13:34 +0000 (17:13 +0000)]
Merge #3217 #3366
3217: Fix string_lit_as_bytes lint for macros r=phansch a=yaahallo
Prior to this change, string_lit_as_bytes would trigger for constructs
like `include_str!("filename").as_bytes()` and would recommend fixing it
by rewriting as `binclude_str!("filename")`.
This change updates the lint to act as an EarlyLintPass lint. It then
differentiates between string literals and macros that have bytes
yielding alternatives.
Closes #3205
3366: Don't expand macros in some suggestions r=oli-obk a=phansch
Fixes #1148
Fixes #1628
Fixes #2455
Fixes #3023
Fixes #3333
Fixes #3360
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
Co-authored-by: Philipp Hansch <dev@phansch.net>
bors[bot] [Sun, 28 Oct 2018 16:54:09 +0000 (16:54 +0000)]
Merge #3364
3364: simplify ci scripts r=phansch a=matthiaskrgr
This makes it easier to flip the switch on pedantic lints on the clippy codebase.
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Philipp Hansch [Sun, 28 Oct 2018 16:51:09 +0000 (17:51 +0100)]
Merge pull request #3371 from matthiaskrgr/temp_breakage_fix
merge various PRs to make CI green again
Matthias Krüger [Sun, 28 Oct 2018 16:14:39 +0000 (17:14 +0100)]
appveyor: use rustc nightly instead of master
Matthias Krüger [Sun, 28 Oct 2018 15:56:57 +0000 (16:56 +0100)]
Merge branch 'compiletest' into temp_breakage_fix
Matthias Krüger [Sun, 28 Oct 2018 15:52:38 +0000 (16:52 +0100)]
pin compiletest dependency to git version (
12c980f47971b5ba6beb7cb2ffebf8b32f6766ea ) while we are waiting for a new release
Matthias Krüger [Sun, 28 Oct 2018 15:55:33 +0000 (16:55 +0100)]
Merge remote-tracking branch 'phansch/disable_master_build' into temp_breakage_fix
Giorgio Gambino [Sun, 28 Oct 2018 15:28:17 +0000 (16:28 +0100)]
Fix #3335 rev1: bool_comparison triggers 3 times on same code
Giorgio Gambino [Sun, 28 Oct 2018 14:37:39 +0000 (15:37 +0100)]
Fix #3335: bool_comparison triggers 3 times on same code
Matthias Krüger [Sun, 28 Oct 2018 11:50:32 +0000 (12:50 +0100)]
rustup: fix build with rustc 1.31.0-nightly (
cae6efc37 2018-10-27)
Michael Rutter [Sun, 28 Oct 2018 12:31:02 +0000 (12:31 +0000)]
more consistent use of terminology; trait > syntax
Michael Rutter [Sun, 28 Oct 2018 08:12:47 +0000 (08:12 +0000)]
added downsides to "known problems" for get_unwrap lint
Philipp Hansch [Sun, 28 Oct 2018 07:11:18 +0000 (08:11 +0100)]
Disable rust master toolchain build temporarily
Philipp Hansch [Sat, 27 Oct 2018 13:37:56 +0000 (15:37 +0200)]
Don't expand macro in or_fun_call suggestion
Philipp Hansch [Sat, 27 Oct 2018 12:45:02 +0000 (14:45 +0200)]
Don't expand macro in single_match suggestion
Philipp Hansch [Sat, 27 Oct 2018 09:01:27 +0000 (11:01 +0200)]
Don't expand macro in identity_conversion suggestion
Matthias Krüger [Fri, 26 Oct 2018 18:00:49 +0000 (20:00 +0200)]
slightly simplify integration tests
Matthias Krüger [Fri, 26 Oct 2018 17:58:50 +0000 (19:58 +0200)]
simplify ci base-tests
Jane Lusby [Fri, 26 Oct 2018 16:10:20 +0000 (09:10 -0700)]
fix: correctly reconstruct raw strings
Jane Lusby [Wed, 24 Oct 2018 15:49:39 +0000 (11:49 -0400)]
fix: extra semicolon, only create callsite once
Jane Lusby [Fri, 5 Oct 2018 16:06:05 +0000 (09:06 -0700)]
Fix string_lit_as_bytes lint for macros
Prior to this change, string_lit_as_bytes would trigger for constructs
like `include_str!("filename").as_bytes()` and would recommend fixing it
by rewriting as `binclude_str!("filename")`.
This change updates the lint to act as an EarlyLintPass lint. It then
differentiates between string literals and macros that have bytes
yielding alternatives.
Closes #3205
bors[bot] [Fri, 26 Oct 2018 10:36:43 +0000 (10:36 +0000)]
Merge #3355
3355: Lint to remove redundant `clone()`s r=oli-obk a=sinkuu
This PR adds lint `redundant_clone`. It suggests to remove redundant `clone()` that clones a owned value that will be dropped without any usage after that.
Real-world example: https://github.com/rust-lang/rust/compare/
7b0735a ..sinkuu:redundant_clone2
Co-authored-by: Shotaro Yamada <sinkuu@sinkuu.xyz>
bors[bot] [Fri, 26 Oct 2018 09:37:22 +0000 (09:37 +0000)]
Merge #3359
3359: ci: allow all branches except trying.tmp and staging.tmp to be built r=phansch a=matthiaskrgr
r? @flip1995
The problem was that with the current configuration, if I made a branch `feature1` and pushed it to travis to have it checked before making a PR, travis would skip it because it only built the 3 branches that were specified when setting up bors.
The change allows all branch names to be build by default again, except for travis.tmp.
The gh-pages branch is skipped as per travis-ci defaults: https://docs.travis-ci.com/user/customizing-the-build/#safelisting-or-blocklisting-branches
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
bors[bot] [Fri, 26 Oct 2018 08:48:12 +0000 (08:48 +0000)]
Merge #3357
3357: Check existential types in `use_self` r=oli-obk a=HMPerson1
Fixes #3231
Co-authored-by: HMPerson1 <hmperson1@gmail.com>
bors[bot] [Fri, 26 Oct 2018 08:01:48 +0000 (08:01 +0000)]
Merge #3362
3362: travis: work around temporary test failure due to rustc crashing on hyper r=phansch a=matthiaskrgr
Upstream ticket: https://github.com/rust-lang/rust/issues/55376
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Matthias Krüger [Fri, 26 Oct 2018 07:57:20 +0000 (09:57 +0200)]
travis: work around temporary test failure due to rustc crashing on hyper.
Upstream ticket: https://github.com/rust-lang/rust/issues/55376
Matthias Krüger [Thu, 25 Oct 2018 18:14:39 +0000 (20:14 +0200)]
ci: allow all branches except trying.tmp and staging.tmp to be built
Shotaro Yamada [Thu, 25 Oct 2018 18:07:29 +0000 (03:07 +0900)]
Move in_macro check
Shotaro Yamada [Thu, 25 Oct 2018 16:27:28 +0000 (01:27 +0900)]
Use BasicBlockData::terminator
Shotaro Yamada [Thu, 25 Oct 2018 13:02:46 +0000 (22:02 +0900)]
Refactor
Shotaro Yamada [Thu, 25 Oct 2018 12:08:32 +0000 (21:08 +0900)]
Use lint_root
Shotaro Yamada [Thu, 25 Oct 2018 11:33:40 +0000 (20:33 +0900)]
Implement visit_basic_block_data
Shotaro Yamada [Thu, 25 Oct 2018 05:59:14 +0000 (14:59 +0900)]
update_references indexing_slicing
Shotaro Yamada [Wed, 24 Oct 2018 13:57:31 +0000 (22:57 +0900)]
Run update_lints
Shotaro Yamada [Tue, 23 Oct 2018 07:01:45 +0000 (16:01 +0900)]
Add redundant_clone lint
bors[bot] [Thu, 25 Oct 2018 11:43:09 +0000 (11:43 +0000)]
Merge #3358
3358: Revert "new_ret_no_self: add sample from #3313 to Known Problems section." r=oli-obk a=matthiaskrgr
This reverts commit
fd2f6dd3824b32af031d19830b6ccdc732dd3dfc .
Issue #3313 has been fixed.
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
Matthias Krüger [Thu, 25 Oct 2018 11:37:50 +0000 (13:37 +0200)]
Revert "new_ret_no_self: add sample from #3313 to Known Problems section."
This reverts commit
fd2f6dd3824b32af031d19830b6ccdc732dd3dfc .
Issue #3313 has been fixed.
bors[bot] [Thu, 25 Oct 2018 09:38:00 +0000 (09:38 +0000)]
Merge #3331
3331: Disable arithmetic lints in constant items r=oli-obk a=pengowen123
Currently this will not catch cases in associated constants. I'm not sure whether checking spans is the best way to solve this issue, but I don't think it will cause any problems.
Fixes #1858
Co-authored-by: Owen Sanchez <pengowen816@gmail.com>
bors[bot] [Thu, 25 Oct 2018 06:43:32 +0000 (06:43 +0000)]
Merge #3346
3346: Add lint for calling `mem::discriminant` on a non-enum type r=flip1995 a=HMPerson1
Also, if the type is a reference to an enum, we suggest removing `&`s and/or dereferencing.
Fixes #3342
Co-authored-by: HMPerson1 <hmperson1@gmail.com>
Co-authored-by: Philipp Krones <hello@philkrones.com>
HMPerson1 [Thu, 25 Oct 2018 02:27:47 +0000 (22:27 -0400)]
Add tests for more than one level of reference
HMPerson1 [Sun, 21 Oct 2018 19:23:51 +0000 (15:23 -0400)]
Add test case for `mem::discriminant` inside a macro
Philipp Krones [Sun, 21 Oct 2018 19:27:01 +0000 (15:27 -0400)]
Add `Applicability`
HMPerson1 [Sun, 21 Oct 2018 03:46:13 +0000 (23:46 -0400)]
Add lint for calling `mem::discriminant` on a non-enum type
HMPerson1 [Thu, 25 Oct 2018 03:28:54 +0000 (23:28 -0400)]
Check existential types in `use_self`
Owen Sanchez [Thu, 18 Oct 2018 04:20:36 +0000 (21:20 -0700)]
Disable arithmetic lints in constant items
bors[bot] [Wed, 24 Oct 2018 21:17:43 +0000 (21:17 +0000)]
Merge #3312
3312: OUT_OF_BOUNDS_INDEXING false negative r=phansch a=JoshMcguigan
fixes #3102
Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>
bors[bot] [Wed, 24 Oct 2018 15:25:12 +0000 (15:25 +0000)]
Merge #3356
3356: Fix warnings introduced by #3349 r=flip1995 a=flip1995
I missed these warnings during review, should have checked the Travis log first.
Co-authored-by: flip1995 <hello@philkrones.com>
bors[bot] [Wed, 24 Oct 2018 14:42:40 +0000 (14:42 +0000)]
Merge #3338
3338: new_ret_no_self false positives r=flip1995 a=JoshMcguigan
~~WORK IN PROGRESS~~
I plan to fix all of the false positives in #3313 in this PR, but I wanted to open it now to start gathering feedback.
In this first commit, I've updated the lint to allow tuple return types as long as `Self` shows up at least once, in any position of the tuple. I believe this is the broadest possible interpretation of what should be allowed for tuple return types, but I would certainly be okay making the lint more strict.
fixes #3313
Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>
flip1995 [Wed, 24 Oct 2018 14:18:01 +0000 (16:18 +0200)]
Fix warnings introduced by #3349
Josh Mcguigan [Wed, 24 Oct 2018 13:43:21 +0000 (06:43 -0700)]
new_ret_no_self added test cases
bors[bot] [Wed, 24 Oct 2018 12:21:19 +0000 (12:21 +0000)]
Merge #3349
3349: Fixes #3347: Lint for wildcard dependencies in Cargo.toml r=ordovicia a=ordovicia
Add a lint for wildcard dependencies in Cargo.toml.
How should I write a test for this lint?
Fixes #3347
Co-authored-by: Hidehito Yabuuchi <hdht.ybuc@gmail.com>
Hidehito Yabuuchi [Wed, 24 Oct 2018 12:15:27 +0000 (21:15 +0900)]
Replace remaining `krate.span` with `DUMMY_SP`
Hidehito Yabuuchi [Wed, 24 Oct 2018 11:22:38 +0000 (20:22 +0900)]
Use DUMMY_SP in multiple_crate_versions
Hidehito Yabuuchi [Wed, 24 Oct 2018 11:18:19 +0000 (20:18 +0900)]
Some fixes for wildcard_dependencies
bors[bot] [Wed, 24 Oct 2018 07:59:06 +0000 (07:59 +0000)]
Merge #3350
3350: Don't emit `new_without_default_derive` if an impl of Default exists regardless of generics r=oli-obk a=pengowen123
Fixes #2226
Co-authored-by: Owen Sanchez <pengowen816@gmail.com>
Hidehito Yabuuchi [Wed, 24 Oct 2018 05:59:19 +0000 (14:59 +0900)]
Run util/update_lints.py
Hidehito Yabuuchi [Wed, 24 Oct 2018 02:34:36 +0000 (11:34 +0900)]
Minor changes on clippy_lints/src/wildcard_dependencies.rs