]>
git.lizzy.rs Git - rust.git/log
bors [Fri, 8 Nov 2019 23:33:30 +0000 (23:33 +0000)]
Auto merge of #4791 - lzutao:osx2bors, r=matthiaskrgr
build macOS on bors branches only
Clippy is portable enough. It is rare to see Clippy builds' broke
on *nix OSes. Testing macOS build on auto and try branch is
enough.
changelog: none
bors [Fri, 8 Nov 2019 22:58:33 +0000 (22:58 +0000)]
Auto merge of #4786 - msizanoen1:target-libs, r=Manishearth
Add the TARGET_LIBS environment variable for rustc CI testing
Needed to fix the test failure in rust-lang/rust#66158.
See https://github.com/rust-lang/rust/pull/66158#issuecomment-
550585396
r? @Manishearth
changelog: none
bors [Fri, 8 Nov 2019 22:06:21 +0000 (22:06 +0000)]
Auto merge of #4776 - mikerite:fix-4727, r=flip1995
Fix crash in `use-self` lint
Fixes #4727
changelog: Fix crash in `use-self` lint
bors [Fri, 8 Nov 2019 21:27:26 +0000 (21:27 +0000)]
Auto merge of #4795 - HMPerson1:rustup, r=matthiaskrgr
Rustup rust-lang/rust#66188
changelog: none
HMPerson1 [Fri, 8 Nov 2019 20:41:54 +0000 (15:41 -0500)]
dogfood
HMPerson1 [Fri, 8 Nov 2019 20:12:08 +0000 (15:12 -0500)]
Rustup rust-lang/rust#66188
msizanoen1 [Fri, 8 Nov 2019 05:29:07 +0000 (12:29 +0700)]
Add target libs directory to search path
Michael Wright [Fri, 8 Nov 2019 05:18:12 +0000 (07:18 +0200)]
Put ice test auxiliary fix in right place
Michael Wright [Fri, 8 Nov 2019 05:15:16 +0000 (07:15 +0200)]
Merge branch 'master' into fix-4727
bors [Fri, 8 Nov 2019 03:34:42 +0000 (03:34 +0000)]
Auto merge of #4792 - lzutao:rustup-65916, r=Manishearth
rustup rust-lang/rust#65916
cc rust-lang/rust#65916
changelog: none
Lzu Tao [Fri, 8 Nov 2019 03:16:43 +0000 (10:16 +0700)]
remove unused warnings
Lzu Tao [Fri, 8 Nov 2019 03:10:08 +0000 (10:10 +0700)]
rustup https://github.com/rust-lang/rust/pull/65916
bors [Thu, 7 Nov 2019 22:05:51 +0000 (22:05 +0000)]
Auto merge of #4697 - Licenser:no-exit, r=flip1995
restriction lint for `std::process::exit`
Addition to #4655 - adds the lint checking for `std::process::exit`
changelog: add restriction lint for `std::process::exit`
bors [Thu, 7 Nov 2019 21:33:04 +0000 (21:33 +0000)]
Auto merge of #4784 - Manishearth:remove-extern, r=Manishearth
Remove `extern crate clippy_lints` from tests
This causes rustc's build system to fail because it still tries to load the crate as a plugin: https://github.com/rust-lang/rust/pull/66158#issuecomment-
550415160 . I'm not sure _why_ this happens, but for a short term fix we should remove these.
In one case it was just a convenient crate to use so i picked a different test. In another it was load-bearing, I had to delete the test. Idk if there's a better way around this.
changelog: none
bors [Thu, 7 Nov 2019 21:06:18 +0000 (21:06 +0000)]
Auto merge of #4758 - mikerite:dec_lit_20191031, r=flip1995
`DecimalLiteralRepresentation` simplification
Remove recalculation of literal value.
changelog: none
Manish Goregaokar [Thu, 7 Nov 2019 20:48:22 +0000 (12:48 -0800)]
Remove clippy dependency in lint_without_lint_pass
Manish Goregaokar [Wed, 6 Nov 2019 18:36:04 +0000 (10:36 -0800)]
Remove clippy_lints from useless attribute test
bors [Thu, 7 Nov 2019 20:47:14 +0000 (20:47 +0000)]
Auto merge of #4757 - evanjs:issue/4748, r=phansch
Fix Deprecated lints don't expand
### Move doc comments inside of declare_deprecated_lint macros so that they are picked up by lintlib.py
### fixes #4748
Unable to `cargo test` locally (I'm on NixOS, and keep getting errors that are similar to those #4714 might solve) but I have verified that all deprecated lints can now be expanded like other lints.
![2019-10-30_21:06:28](https://user-images.githubusercontent.com/
1847524 /
67910501 -
5815de00 -fb59-11e9-9fa2-
91fe6a8b9bb9 .png)
changelog: Show deprecated lints in lint documentation again
Lzu Tao [Thu, 7 Nov 2019 19:06:28 +0000 (02:06 +0700)]
build macOS on bors branches only
Clippy is portable enough. It is rare to see Clippy builds' broke
on *nix OSes. Testing macOS build on auto and try branch is
enough.
Heinz N. Gies [Thu, 7 Nov 2019 16:13:26 +0000 (17:13 +0100)]
Update lints
Heinz N. Gies [Tue, 29 Oct 2019 20:34:00 +0000 (21:34 +0100)]
Update tests for exit
Heinz N. Gies [Fri, 25 Oct 2019 08:59:33 +0000 (10:59 +0200)]
Update clippy_lints/src/lib.rs
Co-Authored-By: Philipp Krones <hello@philkrones.com>
Heinz N. Gies [Fri, 25 Oct 2019 08:16:25 +0000 (10:16 +0200)]
Update clippy_lints/src/lib.rs
Co-Authored-By: Philipp Krones <hello@philkrones.com>
Heinz N. Gies [Thu, 24 Oct 2019 19:17:21 +0000 (21:17 +0200)]
Simplify dentry point detection
Heinz N. Gies [Mon, 21 Oct 2019 20:55:01 +0000 (22:55 +0200)]
Improve function checking
Heinz N. Gies [Sat, 19 Oct 2019 12:31:02 +0000 (14:31 +0200)]
Exclude main from exit lint
Heinz N. Gies [Fri, 18 Oct 2019 19:10:35 +0000 (21:10 +0200)]
Update lints
Heinz N. Gies [Fri, 18 Oct 2019 19:09:42 +0000 (21:09 +0200)]
Add lint for exit
msizanoen1 [Thu, 7 Nov 2019 07:01:25 +0000 (14:01 +0700)]
Add the TARGET_LIBS environment variable for rustc CI testing
bors [Thu, 7 Nov 2019 13:23:32 +0000 (13:23 +0000)]
Auto merge of #4788 - Manishearth:rustup, r=flip1995
Rustup to rustc 1.40.0-nightly (
50f8aadd 2019-11-07)
changelog: Deprecate [`into_iter_on_array`] lint
r? @phansch @oli-obk
flip1995 [Thu, 7 Nov 2019 12:44:57 +0000 (13:44 +0100)]
Deprecate `into_iter_on_array` lint
This lint was uplifted/reimplemented by rustc.
Rustup to rust-lang/rust#66017
flip1995 [Thu, 7 Nov 2019 12:27:00 +0000 (13:27 +0100)]
Rustup to rust-lang/rust#65884
Manish Goregaokar [Thu, 7 Nov 2019 08:34:45 +0000 (00:34 -0800)]
Rustup to rustc 1.40.0-nightly (
7a76fe76f 2019-11-07)
Michael Wright [Thu, 7 Nov 2019 03:59:13 +0000 (05:59 +0200)]
use-self: correctly ignore dummy paths
bors [Wed, 6 Nov 2019 18:21:25 +0000 (18:21 +0000)]
Auto merge of #4781 - lzutao:rustup/65134, r=matthiaskrgr
rustup improper_ctypes: `extern "C"` fns
cc https://github.com/rust-lang/rust/pull/65134
changelog: none
Lzu Tao [Wed, 6 Nov 2019 17:38:10 +0000 (00:38 +0700)]
rustup improper_ctypes: `extern "C"` fns
bors [Wed, 6 Nov 2019 15:50:42 +0000 (15:50 +0000)]
Auto merge of #4772 - HMPerson1:tastier_ice_cream, r=flip1995
Use correct TypeckTables when hashing bodies
Fixes #4760
changelog: Fix ICE while hashing block expressions #4760
r? @phansch
bors [Wed, 6 Nov 2019 12:13:39 +0000 (12:13 +0000)]
Auto merge of #4777 - lzutao:66014-rustup, r=matthiaskrgr
rustup https://github.com/rust-lang/rust/pull/65776
changelog: none
Lzu Tao [Wed, 6 Nov 2019 10:00:12 +0000 (17:00 +0700)]
bump smallvec to 1.0.0
Lzu Tao [Wed, 6 Nov 2019 09:46:32 +0000 (16:46 +0700)]
chore: sort out clippy_lints deps
Lzu Tao [Wed, 6 Nov 2019 09:50:24 +0000 (16:50 +0700)]
rustup rust-lang/rust#65776
Lzu Tao [Wed, 6 Nov 2019 06:27:39 +0000 (13:27 +0700)]
build: re-enable stdsimd integration test
Also sorting rls to the first in the list because it is now
the longest running test.
Lzu Tao [Wed, 6 Nov 2019 06:24:47 +0000 (06:24 +0000)]
rustup https://github.com/rust-lang/rust/pull/66014
Michael Wright [Wed, 6 Nov 2019 05:13:43 +0000 (07:13 +0200)]
Fix crash in `use-self` lint
Fixes #4727
bors [Wed, 6 Nov 2019 03:21:01 +0000 (03:21 +0000)]
Auto merge of #4714 - msizanoen1:remove-plugin, r=Manishearth
Remove clippy plugin
This PR removes the clippy plugin, which is already deprecated and is causing the `fmt_macros` not found error in rust-lang/rust#62558: https://github.com/rust-lang/rust/issues/62558#issuecomment-
529884322
changelog: remove plugin interface
bors [Tue, 5 Nov 2019 20:57:00 +0000 (20:57 +0000)]
Auto merge of #4773 - lzutao:rls/print-something, r=Manishearth
build: avoid timing out in Travis
cc #4770
changelog: none
Manish Goregaokar [Mon, 4 Nov 2019 19:40:06 +0000 (11:40 -0800)]
Turn off stdsimd integration test
Lzu Tao [Tue, 5 Nov 2019 14:51:56 +0000 (21:51 +0700)]
chore: remove unnecessary parentheses around type
Lzu Tao [Tue, 5 Nov 2019 14:36:44 +0000 (21:36 +0700)]
build: avoid timing out in Travis
HMPerson1 [Tue, 5 Nov 2019 01:03:03 +0000 (20:03 -0500)]
Use correct TypeckTables when hashing bodies
Evan Stoll [Sat, 2 Nov 2019 18:19:25 +0000 (14:19 -0400)]
deprecated_lints: re-fix ASSIGN_OPS lint doc-comment
Evan Stoll [Sat, 2 Nov 2019 18:10:59 +0000 (14:10 -0400)]
deprecated_lints: align doc comment indents with `pub LINT_NAME`
Evan Stoll [Sat, 2 Nov 2019 18:09:41 +0000 (14:09 -0400)]
deprecated_lints: remove extraneous `declare_deprecated_lint`
Michael Wright [Thu, 31 Oct 2019 07:13:08 +0000 (09:13 +0200)]
`DecimalLiteralRepresentation` simplification
Remove recalculation of literal value.
Evan Stoll [Thu, 31 Oct 2019 01:05:23 +0000 (21:05 -0400)]
Fix #4748 - Deprecated lints don't expand
- Move doc comments inside of declare_deprecated_lint macros so that they are picked up by lintlib.py
bors [Tue, 29 Oct 2019 09:41:27 +0000 (09:41 +0000)]
Auto merge of #4752 - lzutao:cache/uninstall-clippy, r=flip1995
build: do not cache clippy binaries in integration tests
We rebuild clippy anyway. So caching them is needless
```console
% ls -lF target/debug
total 628M
drwxr-xr-x 22 lzutao lzutao 4.0K Oct 29 04:02 build/
drwxr-xr-x 2 lzutao lzutao 144K Oct 29 04:03 deps/
drwxr-xr-x 2 lzutao lzutao 4.0K Oct 29 03:57 examples/
drwxr-xr-x 11 lzutao lzutao 4.0K Oct 29 04:03 incremental/
-rwxr-xr-x 2 lzutao lzutao 3.4M Oct 29 04:03 cargo-clippy*
-rw-r--r-- 1 lzutao lzutao 11K Oct 29 03:58 cargo-clippy.d
-rwxr-xr-x 2 lzutao lzutao 313M Oct 29 04:03 clippy-driver*
-rw-r--r-- 1 lzutao lzutao 11K Oct 29 03:58 clippy-driver.d
-rw-r--r-- 1 lzutao lzutao 11K Oct 29 04:03 libclippy.d
-rwxr-xr-x 2 lzutao lzutao 312M Oct 29 04:03 libclippy.so*
```
changelog: none
bors [Tue, 29 Oct 2019 09:17:53 +0000 (09:17 +0000)]
Auto merge of #4753 - mikerite:approx-const-
20191029 , r=flip1995
Simplify approx const truncation check
changelog: none
Michael Wright [Tue, 29 Oct 2019 06:34:05 +0000 (08:34 +0200)]
Simplify approx const truncation check
Lzu Tao [Tue, 29 Oct 2019 04:08:06 +0000 (11:08 +0700)]
build: do not cache clippy binaries in integration tests
We rebuild clippy anyway.
bors [Tue, 29 Oct 2019 03:16:14 +0000 (03:16 +0000)]
Auto merge of #4720 - lzutao:int-errexit, r=phansch
Do not early exit if cargo clippy returns non-zero status code
changelog: none
Lzu Tao [Sun, 27 Oct 2019 14:41:47 +0000 (21:41 +0700)]
build: strip before caching in .cargo/bin
Lzu Tao [Wed, 23 Oct 2019 18:50:00 +0000 (01:50 +0700)]
Early exit in integration tests
bors [Mon, 28 Oct 2019 20:26:41 +0000 (20:26 +0000)]
Auto merge of #4744 - phansch:split_up_some_derive_test, r=flip1995
UI test cleanup: Extract derive_hash_xor_eq tests
changelog: none
cc #2038
bors [Mon, 28 Oct 2019 17:12:24 +0000 (17:12 +0000)]
Auto merge of #4749 - flip1995:backport_merge, r=Manishearth
Merge backport branches back into master
r? @Manishearth
cc #4745
changelog: none
flip1995 [Mon, 28 Oct 2019 15:54:15 +0000 (16:54 +0100)]
Merge remote-tracking branch 'upstream/rust-1.39.0' into backport_merge
flip1995 [Mon, 28 Oct 2019 15:53:03 +0000 (16:53 +0100)]
Merge remote-tracking branch 'upstream/rust-1.38.0' into backport_merge
flip1995 [Mon, 28 Oct 2019 15:51:15 +0000 (16:51 +0100)]
Merge remote-tracking branch 'upstream/rust-1.36.0' into backport_merge
bors [Mon, 28 Oct 2019 14:26:02 +0000 (14:26 +0000)]
Auto merge of #4747 - matthiaskrgr:rustup_19, r=flip1995
rustup https://github.com/rust-lang/rust/pull/65792/
changelog: none
Matthias Krüger [Mon, 28 Oct 2019 09:46:54 +0000 (10:46 +0100)]
travis: temporarily disable rustfmt ci check until #4742 is resolved
Matthias Krüger [Mon, 28 Oct 2019 08:02:48 +0000 (09:02 +0100)]
rustup https://github.com/rust-lang/rust/pull/65792/
Philipp Hansch [Mon, 28 Oct 2019 06:34:29 +0000 (07:34 +0100)]
UI test cleanup: Extract derive_hash_xor_eq tests
bors [Sat, 26 Oct 2019 20:30:02 +0000 (20:30 +0000)]
Auto merge of #4739 - flip1995:rustup, r=flip1995
Rustup to rust-lang/rust#65773
changelog: none
flip1995 [Sat, 26 Oct 2019 19:53:42 +0000 (21:53 +0200)]
Rustup to rust-lang/rust#65773
bors [Sat, 26 Oct 2019 18:19:19 +0000 (18:19 +0000)]
Auto merge of #4736 - flip1995:icu_mul_add, r=matthiaskrgr
Move manual_mul_add into nursery
Addresses #4735
changelog: Move [`manual_mul_add`] into nursery
flip1995 [Sat, 26 Oct 2019 17:56:36 +0000 (19:56 +0200)]
Move manual_mul_add into nursery
bors [Fri, 25 Oct 2019 13:24:37 +0000 (13:24 +0000)]
Auto merge of #4733 - lzutao:how-rtim, r=flip1995
build: install RTIM if it doesn't exist and upgrade it if it is in cargo bin home
Replace #4731
changelog: none
Lzu Tao [Fri, 25 Oct 2019 13:20:15 +0000 (20:20 +0700)]
build: install RTIM if it doesn't exist and upgrade it if it is in cargo bin home
bors [Thu, 24 Oct 2019 19:22:22 +0000 (19:22 +0000)]
Auto merge of #4724 - lzutao:minor-appveyor, r=phansch
appveyor: minor syntax change
Use this link to review diff: https://github.com/rust-lang/rust-clippy/pull/4724/files?w=1
changelog: none
Lzu Tao [Thu, 24 Oct 2019 17:49:09 +0000 (00:49 +0700)]
appveyor: Leading space change only
Lzu Tao [Thu, 24 Oct 2019 17:47:20 +0000 (00:47 +0700)]
appveyor: Minor config change
bors [Thu, 24 Oct 2019 17:53:42 +0000 (17:53 +0000)]
Auto merge of #4721 - phansch:fix_try_err_in_ext_macro, r=flip1995
Don't emit try_err lint in external macros
changelog: Fix [`try_err`] false positive in external macros
Closes #4709
bors [Thu, 24 Oct 2019 17:30:40 +0000 (17:30 +0000)]
Auto merge of #4713 - lzutao:no-reinstall-toolchain, r=phansch
build: do not reinstall master toolchain if it is up-to-date
changelog: none
Lzu Tao [Thu, 24 Oct 2019 14:59:57 +0000 (21:59 +0700)]
build: do not reinstall master toolchain if it is up-to-date
msizanoen [Tue, 22 Oct 2019 05:56:26 +0000 (12:56 +0700)]
Remove clippy plugin
bors [Thu, 24 Oct 2019 13:13:15 +0000 (13:13 +0000)]
Auto merge of #4650 - Mark-Simulacrum:clippy-up-lintstore-lockless, r=phansch
Update clippy for latest rustc changes
Specifically, this revises the clippy integration to utilize a new
callback to register its lints, as the prior editing of lint store in
Session is no longer possible.
---
changelog: none
flip1995 [Thu, 24 Oct 2019 12:33:14 +0000 (14:33 +0200)]
Fix dogfood findings
flip1995 [Thu, 24 Oct 2019 12:03:24 +0000 (14:03 +0200)]
Revert "rustc-dev has been temporarily removed"
This reverts commit
974a05b806954ebdc6640b7ef539667bd7baca56 .
flip1995 [Thu, 24 Oct 2019 11:54:18 +0000 (13:54 +0200)]
Fix lint_without_lint_pass lint
flip1995 [Thu, 24 Oct 2019 11:29:51 +0000 (13:29 +0200)]
Fix tests
flip1995 [Thu, 24 Oct 2019 09:55:22 +0000 (11:55 +0200)]
Run ./util/dev fmt
flip1995 [Thu, 24 Oct 2019 09:54:11 +0000 (11:54 +0200)]
Rustup to rust-lang/rust#65657
Mark Rousskov [Fri, 11 Oct 2019 12:33:42 +0000 (08:33 -0400)]
Update clippy_dev
Mark Rousskov [Fri, 11 Oct 2019 01:46:22 +0000 (21:46 -0400)]
Update clippy for latest rustc changes
Specifically, this revises the clippy integration to utilize a new
callback to register its lints, as the prior editing of lint store in
Session is no longer possible.
Philipp Hansch [Thu, 24 Oct 2019 05:52:01 +0000 (07:52 +0200)]
Don't emit try_err lint in external macros
bors [Thu, 24 Oct 2019 05:20:45 +0000 (05:20 +0000)]
Auto merge of #4675 - lzutao:improve-shellscript, r=phansch
build: improve script and travis config
* fix a diff failure on windows
See https://travis-ci.com/rust-lang/rust-clippy/jobs/
245971932 #L1625
for an example.
* use cmp instead of diff > /dev/null
* clone single branch instead of clone then checking out
* do not decrypt key if have no diff change
changelog: none
bors [Wed, 23 Oct 2019 20:58:14 +0000 (20:58 +0000)]
Auto merge of #4680 - hellow554:debug_assert_mut_call, r=flip1995
Add lint for debug_assert_with_mut_call
closes #1526
**What does not work:**
* detecting a mut call in the format string itself, e.g. `debug_assert!(false, "{}", vec![1].pop())`
* detecting `*mut T` usage (pointer)
---
changelog: add new lint `debug_assert_with_mut_call`
bors [Wed, 23 Oct 2019 20:12:14 +0000 (20:12 +0000)]
Auto merge of #4691 - HMPerson1:suggest_iter, r=phansch
Fix suggestion of `explicit_counter_loop`
changelog: In the suggestion of `explicit_counter_loop`, if the `for` loop argument doesn't implement `Iterator`, then we suggest `x.into_iter().enumerate()` (or `x.iter{_mut}()` as appropriate). Also, the span of the suggestion has been corrected.
Fixes #4678
bors [Wed, 23 Oct 2019 19:09:40 +0000 (19:09 +0000)]
Auto merge of #4718 - matthiaskrgr:cargo_metadata, r=phansch
deps: update cargo_metadata from 0.8.0 to 0.9.0
changelog: none
Matthias Krüger [Wed, 23 Oct 2019 15:30:24 +0000 (17:30 +0200)]
deps: update cargo_metadata from 0.8.0 to 0.9.0
bors [Wed, 23 Oct 2019 10:35:17 +0000 (10:35 +0000)]
Auto merge of #4715 - rust-lang:rustup, r=phansch
Rustup to rust-lang/rust#65647
cc rust-lang/rust#65647
waiting on rust-lang/rust#65690
changelog: none