]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoPick up lost property
Yuki Okushi [Mon, 6 Jan 2020 16:54:51 +0000 (01:54 +0900)]
Pick up lost property

4 years agoRustup to rust-lang/rust#67886
Yuki Okushi [Mon, 6 Jan 2020 16:39:50 +0000 (01:39 +0900)]
Rustup to rust-lang/rust#67886

4 years agoAuto merge of #4998 - JohnTitor:revive-rls, r=llogiq
bors [Sun, 5 Jan 2020 19:32:20 +0000 (19:32 +0000)]
Auto merge of #4998 - JohnTitor:revive-rls, r=llogiq

Re-enable rls integration test

It seems rls integration test passes correctly: https://travis-ci.com/rust-lang/rust-clippy/builds/143133541

changelog: none

4 years agoFix space size
Yuki Okushi [Sun, 5 Jan 2020 18:16:19 +0000 (03:16 +0900)]
Fix space size

4 years agoRe-enable rls integration test
Yuki Okushi [Sun, 5 Jan 2020 16:22:01 +0000 (01:22 +0900)]
Re-enable rls integration test

4 years agoAuto merge of #4996 - JohnTitor:rustup, r=matthiaskrgr
bors [Sun, 5 Jan 2020 08:41:37 +0000 (08:41 +0000)]
Auto merge of #4996 - JohnTitor:rustup, r=matthiaskrgr

Rustup to rust-lang/rust#67803 and rust-lang/rust#67137

changelog: none

4 years agoRustup to rust-lang/rust#67137
Yuki Okushi [Sun, 5 Jan 2020 06:43:41 +0000 (15:43 +0900)]
Rustup to rust-lang/rust#67137

4 years agoRustup to rust-lang/rust#67803
Yuki Okushi [Sun, 5 Jan 2020 06:39:03 +0000 (15:39 +0900)]
Rustup to rust-lang/rust#67803

4 years agoAuto merge of #4993 - rust-lang:doc-unsafe-macro-check, r=flip1995
bors [Sat, 4 Jan 2020 20:50:41 +0000 (20:50 +0000)]
Auto merge of #4993 - rust-lang:doc-unsafe-macro-check, r=flip1995

External macro check for missing_*_doc

This fixes #4949

changelog: none

4 years agoExternal macro check for missing_*_doc
Andre Bogus [Sat, 4 Jan 2020 19:19:14 +0000 (20:19 +0100)]
External macro check for missing_*_doc

4 years agoAuto merge of #4966 - bradsherman:iter-nth-zero, r=flip1995
bors [Sat, 4 Jan 2020 18:32:33 +0000 (18:32 +0000)]
Auto merge of #4966 - bradsherman:iter-nth-zero, r=flip1995

New Lint: Iter nth zero

Check for the use of `iter.nth(0)` and encourage `iter.next()` instead as it is more readable

changelog: add new lint when `iter.nth(0)` is used

Fixes #4957

4 years agoAdd lint for iter.nth(0)
Brad Sherman [Sat, 28 Dec 2019 22:37:23 +0000 (15:37 -0700)]
Add lint for iter.nth(0)

- Encourage iter.next() rather than iter.nth(0), which is less readable

4 years agoFix existing iter-nth-zero violations
Brad Sherman [Sat, 28 Dec 2019 22:31:41 +0000 (15:31 -0700)]
Fix existing iter-nth-zero violations

4 years agoAuto merge of #4992 - phansch:rustup_foobar, r=matthiaskrgr
bors [Sat, 4 Jan 2020 12:26:02 +0000 (12:26 +0000)]
Auto merge of #4992 - phansch:rustup_foobar, r=matthiaskrgr

Rustup to https://github.com/rust-lang/rust/pull/67853

Specifically caused by https://github.com/rust-lang/rust/pull/67786

changelog: none

4 years agoRustup to https://github.com/rust-lang/rust/pull/67853
Philipp Hansch [Sat, 4 Jan 2020 10:00:00 +0000 (11:00 +0100)]
Rustup to https://github.com/rust-lang/rust/pull/67853

Specifically caused by https://github.com/rust-lang/rust/pull/67786

4 years agoAuto merge of #4881 - krishna-veerareddy:issue-4871-use-mem-take, r=flip1995
bors [Sat, 4 Jan 2020 08:09:43 +0000 (08:09 +0000)]
Auto merge of #4881 - krishna-veerareddy:issue-4871-use-mem-take, r=flip1995

Use `mem::take` instead of `mem::replace` when applicable

`std::mem::take` can be used to replace a value of type `T` with `T::default()` instead of `std::mem::replace`.

Fixes issue #4871

changelog: Added lint for [`mem_replace_with_default`]

4 years agoAuto merge of #4990 - JohnTitor:remove-try, r=phansch
bors [Sat, 4 Jan 2020 07:44:04 +0000 (07:44 +0000)]
Auto merge of #4990 - JohnTitor:remove-try, r=phansch

Remove use of `try!` from documentation

Makes documentation more modern and directer

changelog: none

4 years agoRemove use of `try!` from documentation
Yuki Okushi [Sat, 4 Jan 2020 04:47:01 +0000 (13:47 +0900)]
Remove use of `try!` from documentation

4 years agoAuto merge of #4989 - rust-lang:no-unmangled-must-use, r=flip1995
bors [Fri, 3 Jan 2020 17:04:52 +0000 (17:04 +0000)]
Auto merge of #4989 - rust-lang:no-unmangled-must-use, r=flip1995

No #[no_mangle] must_use_candidate functions

This fixes #4984.

changelog: none

4 years agoNo #[no_mangle] must_use_candidate functions
Andre Bogus [Fri, 3 Jan 2020 16:21:36 +0000 (17:21 +0100)]
No #[no_mangle] must_use_candidate functions

4 years agoAuto merge of #4975 - JohnTitor:fix-4968, r=phansch
bors [Fri, 3 Jan 2020 08:48:05 +0000 (08:48 +0000)]
Auto merge of #4975 - JohnTitor:fix-4968, r=phansch

Fix ICE on `unsound_collection_transmute`

Fixes #4968

Check if `Ty`s are normalizable. It might show hidden false negative, I'm not sure.
Also, the regression tests are placed on two dirs, so move them to `/crashes`. I think it will be easier to find the right place.

changelog: Fix ICE on `unsound_collection_transmute`

4 years agoMove `use_self_macro` into `crashes/auxiliary`
Yuki Okushi [Fri, 3 Jan 2020 08:03:07 +0000 (17:03 +0900)]
Move `use_self_macro` into `crashes/auxiliary`

4 years agoAuto merge of #4978 - mikerite:fix-4958, r=phansch
bors [Fri, 3 Jan 2020 05:59:19 +0000 (05:59 +0000)]
Auto merge of #4978 - mikerite:fix-4958, r=phansch

Fix bad `explicit_into_iter_loop` suggestion

Fixes #4958

changelog: Fix bad `explicit_into_iter_loop` suggestion

4 years agoAuto merge of #4977 - krishna-veerareddy:issue-4969-replace-consts-fp, r=phansch
bors [Thu, 2 Jan 2020 11:37:19 +0000 (11:37 +0000)]
Auto merge of #4977 - krishna-veerareddy:issue-4969-replace-consts-fp, r=phansch

Prevent `replace_consts` lint within match patterns

Currently `replace_consts` lint applies within match patterns but the suggestion is incorrect as function calls are disallowed in them. To fix this we prevent the lint from firing within patterns.

Fixes #4969

changelog: Fix false positive in `replace_consts` lint

4 years agoAdd `if let` test case
Krishna Veera Reddy [Thu, 2 Jan 2020 07:22:57 +0000 (23:22 -0800)]
Add `if let` test case

4 years agoMove `is_normalizable` into utils
Yuki Okushi [Thu, 2 Jan 2020 02:48:06 +0000 (11:48 +0900)]
Move `is_normalizable` into utils

4 years agoAdd attribute
Yuki Okushi [Thu, 2 Jan 2020 00:32:55 +0000 (09:32 +0900)]
Add attribute

4 years agoFix bad `explicit_into_iter_loop` suggestion
Michael Wright [Wed, 1 Jan 2020 05:09:09 +0000 (07:09 +0200)]
Fix bad `explicit_into_iter_loop` suggestion

Fixes #4958

4 years agoPrevent `replace_consts` lint within match patterns
Krishna Veera Reddy [Tue, 31 Dec 2019 18:33:15 +0000 (10:33 -0800)]
Prevent `replace_consts` lint within match patterns

Currently `replace_consts` lint applies within match patterns but
the suggestion is incorrect as function calls are disallowed in
them. To fix this we prevent the lint from firing within patterns.

4 years agoIndicate anonymous lifetimes for types
Krishna Veera Reddy [Sun, 29 Dec 2019 05:52:08 +0000 (21:52 -0800)]
Indicate anonymous lifetimes for types

4 years agoRemove unnecessary import
Krishna Veera Reddy [Tue, 24 Dec 2019 16:26:58 +0000 (08:26 -0800)]
Remove unnecessary import

4 years agoLint within internal macros without a suggestion
Krishna Veera Reddy [Tue, 24 Dec 2019 15:59:35 +0000 (07:59 -0800)]
Lint within internal macros without a suggestion

4 years agoDestructure `mem:replace` arguments
Krishna Veera Reddy [Sun, 22 Dec 2019 19:05:19 +0000 (11:05 -0800)]
Destructure `mem:replace` arguments

4 years agoMove `mem_replace_with_default` out of nursery
Krishna Veera Reddy [Thu, 19 Dec 2019 06:15:55 +0000 (22:15 -0800)]
Move `mem_replace_with_default` out of nursery

4 years agoPrevent `mem_replace_with_default` lint within macros
Krishna Veera Reddy [Sun, 8 Dec 2019 19:46:21 +0000 (11:46 -0800)]
Prevent `mem_replace_with_default` lint within macros

Also added test cases for internal and external macros.

4 years agoAdd test cases for replace with `Default::default()`
Krishna Veera Reddy [Sun, 8 Dec 2019 17:26:37 +0000 (09:26 -0800)]
Add test cases for replace with `Default::default()`

4 years agoUse `mem::take` instead of `mem::replace` when applicable
Krishna Veera Reddy [Sun, 8 Dec 2019 03:10:06 +0000 (19:10 -0800)]
Use `mem::take` instead of `mem::replace` when applicable

`std::mem::take` can be used to replace a value of type `T`
with `T::default()` instead of `std::mem::replace`.

4 years agoAuto merge of #4976 - JohnTitor:integration, r=phansch
bors [Tue, 31 Dec 2019 13:52:14 +0000 (13:52 +0000)]
Auto merge of #4976 - JohnTitor:integration, r=phansch

Update integration name

I noticed some `INTEGRATION` env vars point to previous org/repo names.

changelog: none

4 years agoUpdate integration name
Yuki Okushi [Tue, 31 Dec 2019 12:04:36 +0000 (21:04 +0900)]
Update integration name

4 years agoRename test prefix
Yuki Okushi [Tue, 31 Dec 2019 09:01:45 +0000 (18:01 +0900)]
Rename test prefix

4 years agoMove ICE tests to /crashes
Yuki Okushi [Tue, 31 Dec 2019 06:45:15 +0000 (15:45 +0900)]
Move ICE tests to /crashes

4 years agoAdd regression test for #4968
Yuki Okushi [Tue, 31 Dec 2019 06:44:04 +0000 (15:44 +0900)]
Add regression test for #4968

4 years agoFix ICE due to normalization failure
Yuki Okushi [Tue, 31 Dec 2019 06:43:21 +0000 (15:43 +0900)]
Fix ICE due to normalization failure

4 years agoAuto merge of #4973 - JohnTitor:rustup-1231, r=phansch
bors [Tue, 31 Dec 2019 11:25:43 +0000 (11:25 +0000)]
Auto merge of #4973 - JohnTitor:rustup-1231, r=phansch

Rustup to rust-lang/rust#67707

`syntax_pos` -> `rustc_span`

changelog: none

4 years agoIgnore rls integration test for now
Yuki Okushi [Tue, 31 Dec 2019 10:43:52 +0000 (19:43 +0900)]
Ignore rls integration test for now

4 years agoUse `is_empty()`
Yuki Okushi [Tue, 31 Dec 2019 07:50:43 +0000 (16:50 +0900)]
Use `is_empty()`

4 years agoRustup to rust-lang/rust#67707
Yuki Okushi [Tue, 31 Dec 2019 00:17:56 +0000 (09:17 +0900)]
Rustup to rust-lang/rust#67707

4 years agoAuto merge of #4970 - krishna-veerareddy:fix-replace-consts-documentation, r=flip1995
bors [Mon, 30 Dec 2019 17:28:57 +0000 (17:28 +0000)]
Auto merge of #4970 - krishna-veerareddy:fix-replace-consts-documentation, r=flip1995

Fix `replace_consts` lint documentation

`replace_consts` lint no longer lints for the usage of
`ATOMIC_{SIZE}_INIT` and `ONCE_INIT` so removing any
occurences of them in the documentation.

changelog: Update `replace_consts` lint documentation

4 years agoAuto merge of #4634 - m-ober:feature/2320-map-or, r=llogiq
bors [Mon, 30 Dec 2019 15:50:06 +0000 (15:50 +0000)]
Auto merge of #4634 - m-ober:feature/2320-map-or, r=llogiq

Add real suggestion to option_map_unwrap_or

changelog: Add real suggestion to `option_map_unwrap_or`

Fixes #2320

4 years agoFix `replace_consts` lint documentation
Krishna Veera Reddy [Sun, 29 Dec 2019 17:44:50 +0000 (09:44 -0800)]
Fix `replace_consts` lint documentation

`replace_consts` lint no longer lints for the usage of
`ATOMIC_{SIZE}_INIT` and `ONCE_INIT` so removing any
occurences of them in the documentation.

4 years agoAuto merge of #4972 - JohnTitor:rustup, r=llogiq
bors [Mon, 30 Dec 2019 11:02:43 +0000 (11:02 +0000)]
Auto merge of #4972 - JohnTitor:rustup, r=llogiq

Rustup to rust-lang/rust#66942

changelog: none

4 years agoAllow unused_extern_crates for now
Yuki Okushi [Mon, 30 Dec 2019 08:02:18 +0000 (17:02 +0900)]
Allow unused_extern_crates for now

4 years agoRustup to rust-lang/rust#66942
Yuki Okushi [Mon, 30 Dec 2019 04:02:10 +0000 (13:02 +0900)]
Rustup to rust-lang/rust#66942

4 years agoAuto merge of #4967 - JohnTitor:update-test, r=phansch
bors [Sun, 29 Dec 2019 07:37:03 +0000 (07:37 +0000)]
Auto merge of #4967 - JohnTitor:update-test, r=phansch

Rustup to rust-lang/rust#67151

changelog: none

4 years agoRustup to rust-lang/rust#67151
Yuki Okushi [Sun, 29 Dec 2019 02:31:41 +0000 (11:31 +0900)]
Rustup to rust-lang/rust#67151

4 years agoAdd real suggestion to option_map_unwrap_or
Micha Ober [Sat, 5 Oct 2019 12:23:52 +0000 (14:23 +0200)]
Add real suggestion to option_map_unwrap_or

4 years agoAuto merge of #4964 - JohnTitor:fix-potential-ice, r=flip1995
bors [Sat, 28 Dec 2019 18:41:38 +0000 (18:41 +0000)]
Auto merge of #4964 - JohnTitor:fix-potential-ice, r=flip1995

Possibly fix an ICE on test

Fix a potential ICE on test with debug assertion, caused on rust-lang/rust#67661.
r? @oli-obk

changelog: none

4 years agoAuto merge of #4867 - mgr-inz-rafal:modulo_arithmetic, r=flip1995
bors [Sat, 28 Dec 2019 18:26:15 +0000 (18:26 +0000)]
Auto merge of #4867 - mgr-inz-rafal:modulo_arithmetic, r=flip1995

Modulo arithmetic

changelog: Added modulo_arithmetic lint

4 years agoFixes for elided lifetimes
mgr-inz-rafal [Sat, 28 Dec 2019 16:14:19 +0000 (17:14 +0100)]
Fixes for elided lifetimes

4 years agoAdd tests for new lint (modulo_arithmetic)
mgr-inz-rafal [Thu, 26 Dec 2019 12:34:55 +0000 (13:34 +0100)]
Add tests for new lint (modulo_arithmetic)

4 years agoAdd new lint (modulo_arithmetic)
mgr-inz-rafal [Thu, 26 Dec 2019 12:34:18 +0000 (13:34 +0100)]
Add new lint (modulo_arithmetic)

4 years agocode review
Yuki Okushi [Sat, 28 Dec 2019 13:45:41 +0000 (22:45 +0900)]
code review

4 years agoPossibly fix an ICE on test
Yuki Okushi [Sat, 28 Dec 2019 12:13:21 +0000 (21:13 +0900)]
Possibly fix an ICE on test

4 years agoAuto merge of #4963 - JohnTitor:unknown-clippy-lint, r=phansch
bors [Fri, 27 Dec 2019 20:05:08 +0000 (20:05 +0000)]
Auto merge of #4963 - JohnTitor:unknown-clippy-lint, r=phansch

Suggest similar lint name on `unknown_clippy_lints`

Suggest a similar lint name with Levenshtein distance on `unknown_clippy_lints`.
And lowercase suggestion behavior is also changed.

changelog: Suggest similar lint name on `unknown_clippy_lints`

4 years agoImprove tests
Yuki Okushi [Fri, 27 Dec 2019 11:41:26 +0000 (20:41 +0900)]
Improve tests

4 years agoSuggest similar lint name on unknown_clippy_lints
Yuki Okushi [Fri, 27 Dec 2019 11:41:11 +0000 (20:41 +0900)]
Suggest similar lint name on unknown_clippy_lints

4 years agoAuto merge of #4962 - JohnTitor:rustup-1227, r=matthiaskrgr
bors [Fri, 27 Dec 2019 12:46:42 +0000 (12:46 +0000)]
Auto merge of #4962 - JohnTitor:rustup-1227, r=matthiaskrgr

Rustup to rust-lang/rust#66936

changelog: none

4 years agoRustup to rust-lang/rust#66936
Yuki Okushi [Fri, 27 Dec 2019 07:12:26 +0000 (16:12 +0900)]
Rustup to rust-lang/rust#66936

4 years agoAuto merge of #4956 - JohnTitor:decimal-lit-suffix, r=llogiq
bors [Wed, 25 Dec 2019 19:39:13 +0000 (19:39 +0000)]
Auto merge of #4956 - JohnTitor:decimal-lit-suffix, r=llogiq

Do not drop suffixes on `decimal_literal_representation`

Fixes #4763

changelog: Do not drop type suffixes on `decimal_literal_representation`

4 years agoAuto merge of #4954 - JohnTitor:improve-len-zero-doc, r=llogiq
bors [Wed, 25 Dec 2019 16:27:18 +0000 (16:27 +0000)]
Auto merge of #4954 - JohnTitor:improve-len-zero-doc, r=llogiq

Correct documentation for `len_zero`

Fixes #4902

changelog: none

4 years agoDo not drop suffixes on `decimal_literal_representation`
Yuki Okushi [Wed, 25 Dec 2019 16:22:36 +0000 (01:22 +0900)]
Do not drop suffixes on `decimal_literal_representation`

4 years agoCorrect documentation for `len_zero`
Yuki Okushi [Wed, 25 Dec 2019 12:06:55 +0000 (21:06 +0900)]
Correct documentation for `len_zero`

4 years agoAuto merge of #4947 - rust-lang:doc-main-extern-crate, r=flip1995
bors [Tue, 24 Dec 2019 15:03:54 +0000 (15:03 +0000)]
Auto merge of #4947 - rust-lang:doc-main-extern-crate, r=flip1995

Avoid needless_doctest_main on 'extern crate'

This fixes #4927.

r? @flip1995

changelog: none

4 years agoAuto merge of #4885 - rust-lang:mut-key-types, r=flip1995
bors [Tue, 24 Dec 2019 13:32:45 +0000 (13:32 +0000)]
Auto merge of #4885 - rust-lang:mut-key-types, r=flip1995

new lint: mutable_key_type

This fixes #732 - well, partly, it doesn't adress `Hash` impls, but the use of mutable types as map keys or set members

changelog: add `mutable_key_type` lint

r? @flip1995

4 years agonew lint: mutable_key_type
Andre Bogus [Fri, 6 Dec 2019 18:45:33 +0000 (19:45 +0100)]
new lint: mutable_key_type

4 years agoAvoid needless_doctest_main on 'extern crate'
Andre Bogus [Mon, 23 Dec 2019 12:11:20 +0000 (13:11 +0100)]
Avoid needless_doctest_main on 'extern crate'

4 years agoAuto merge of #4948 - lzutao:rustup-67538, r=phansch
bors [Tue, 24 Dec 2019 08:07:58 +0000 (08:07 +0000)]
Auto merge of #4948 - lzutao:rustup-67538, r=phansch

rustup "Add span information to `ExprKind::Assign`"

cc https://github.com/rust-lang/rust/pull/67538
changelog: none

4 years agorustup "Add span information to `ExprKind::Assign`"
Lzu Tao [Tue, 24 Dec 2019 04:16:04 +0000 (11:16 +0700)]
rustup "Add span information to `ExprKind::Assign`"

4 years agoAuto merge of #4946 - lzutao:take, r=flip1995
bors [Mon, 23 Dec 2019 20:10:59 +0000 (20:10 +0000)]
Auto merge of #4946 - lzutao:take, r=flip1995

a few minor cleanups

changelog: none

4 years agodo minor cleanups
Lzu Tao [Mon, 23 Dec 2019 20:06:52 +0000 (03:06 +0700)]
do minor cleanups

* ToString and AsRef are in prelude, no need to import them

4 years agoAuto merge of #4934 - illicitonion:exhaustive_match, r=flip1995
bors [Mon, 23 Dec 2019 17:00:38 +0000 (17:00 +0000)]
Auto merge of #4934 - illicitonion:exhaustive_match, r=flip1995

Update wildcard enum match lint for non_exhaustive enums

changelog: wildcard_enum_match_arm gives better suggestions for non_exhaustive enums

4 years agoAuto merge of #4911 - phansch:update_changelog, r=flip1995
bors [Mon, 23 Dec 2019 16:06:56 +0000 (16:06 +0000)]
Auto merge of #4911 - phansch:update_changelog, r=flip1995

Update changelog for Rust 1.39 and 1.40

[Rendered](https://github.com/phansch/rust-clippy/blob/update_changelog/CHANGELOG.md)

changelog: none

4 years agoAuto merge of #4939 - matthiaskrgr:bump_git_dep, r=phansch
bors [Mon, 23 Dec 2019 06:34:32 +0000 (06:34 +0000)]
Auto merge of #4939 - matthiaskrgr:bump_git_dep, r=phansch

deps: bump git2 from 0.10 to 0.11

changelog: none

4 years agoAuto merge of #4823 - Areredify:must_use_res, r=flip1995
bors [Mon, 23 Dec 2019 06:16:37 +0000 (06:16 +0000)]
Auto merge of #4823 - Areredify:must_use_res, r=flip1995

Add `let_underscore_must_use` lint

changelog: closes #4812 , added a new `let_underscore_must_use` lint, moved `is_must_use_ty` to utils, added `is_must_use_fn` util function

4 years agoFix two commit hashes in changelog
Philipp Hansch [Mon, 23 Dec 2019 06:08:09 +0000 (07:08 +0100)]
Fix two commit hashes in changelog

4 years agoAuto merge of #4941 - lzutao:utils-mod, r=phansch
bors [Mon, 23 Dec 2019 06:00:54 +0000 (06:00 +0000)]
Auto merge of #4941 - lzutao:utils-mod, r=phansch

a few small cleanups

changelog: none

4 years agoAuto merge of #4944 - JohnTitor:rustup, r=oli-obk
bors [Mon, 23 Dec 2019 00:28:07 +0000 (00:28 +0000)]
Auto merge of #4944 - JohnTitor:rustup, r=oli-obk

Rustup to rust-lang/rust#66877

changelog: none

4 years agoRustup to rust-lang/rust#66877
Yuki Okushi [Sun, 22 Dec 2019 23:39:33 +0000 (08:39 +0900)]
Rustup to rust-lang/rust#66877

4 years agoupdate term to 0.6
Lzu Tao [Sun, 22 Dec 2019 22:46:17 +0000 (05:46 +0700)]
update term to 0.6

4 years agoa few small cleanups
Lzu Tao [Sun, 22 Dec 2019 21:49:59 +0000 (04:49 +0700)]
a few small cleanups

4 years agoimplemented `let_underscore` lint
Mikhail Babenko [Sat, 16 Nov 2019 14:55:00 +0000 (17:55 +0300)]
implemented `let_underscore` lint

actually add files

update lints

change to pedantic

4 years agomove is_must_use_ty to utils
Mikhail Babenko [Wed, 13 Nov 2019 23:42:00 +0000 (02:42 +0300)]
move is_must_use_ty to utils

4 years agodeps: bump git2 from 0.10 to 0.11
Matthias Krüger [Sun, 22 Dec 2019 16:06:43 +0000 (17:06 +0100)]
deps: bump git2 from 0.10 to 0.11

4 years agoAuto merge of #4938 - flip1995:rustup, r=flip1995
bors [Sun, 22 Dec 2019 14:58:55 +0000 (14:58 +0000)]
Auto merge of #4938 - flip1995:rustup, r=flip1995

Rustup to rust-lang/rust#66931

changelog: none

4 years agoRustup to rust-lang/rust#66931
flip1995 [Sun, 22 Dec 2019 14:56:34 +0000 (15:56 +0100)]
Rustup to rust-lang/rust#66931

4 years agoAdd <'_> where necessary
flip1995 [Sun, 22 Dec 2019 14:42:41 +0000 (15:42 +0100)]
Add <'_> where necessary

4 years agoRemove trailling .s
Daniel Wagner-Hall [Sun, 22 Dec 2019 11:51:39 +0000 (11:51 +0000)]
Remove trailling .s

4 years agoAuto merge of #4937 - mikerite:fix-4824, r=phansch
bors [Sun, 22 Dec 2019 09:55:50 +0000 (09:55 +0000)]
Auto merge of #4937 - mikerite:fix-4824, r=phansch

Fix `map_clone` false positive

Don't lint when the item type is not a reference. `copied` only applies to references.

changelog: Fix `map_clone` false positive

4 years agoAuto merge of #4930 - flip1995:unused_label, r=phansch
bors [Sun, 22 Dec 2019 09:39:32 +0000 (09:39 +0000)]
Auto merge of #4930 - flip1995:unused_label, r=phansch

Deprecate unused_label lint

This lint was uplifted/turned into warn-by-default in rustc

Fixes #4925

changelog: Deprecate [`unused_label`] lint

4 years agoFix `map_clone` false positive
Michael Wright [Sun, 22 Dec 2019 09:26:51 +0000 (11:26 +0200)]
Fix `map_clone` false positive

Don't lint when the item type is not a reference. `copied` only applies
to references.