Commit graph

7079 commits

Author SHA1 Message Date
Guanqun Lu
f2d8197110 doc: fix the comment above the lint function 2019-11-16 01:55:06 +08:00
bors
865f5c7c46 Auto merge of #4777 - lzutao:66014-rustup, r=matthiaskrgr
rustup https://github.com/rust-lang/rust/pull/65776

changelog: none
2019-11-06 12:13:39 +00:00
Lzu Tao
42c8c03464 bump smallvec to 1.0.0 2019-11-06 17:46:45 +07:00
Lzu Tao
56f3ba33c5 chore: sort out clippy_lints deps 2019-11-06 17:46:45 +07:00
Lzu Tao
51632530d7 rustup rust-lang/rust#65776 2019-11-06 17:46:45 +07:00
Lzu Tao
3e1760cb04 build: re-enable stdsimd integration test
Also sorting rls to the first in the list because it is now
the longest running test.
2019-11-06 13:27:39 +07:00
Lzu Tao
a902e3fd71 rustup https://github.com/rust-lang/rust/pull/66014 2019-11-06 06:24:47 +00:00
bors
eae7b997dd 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
2019-11-06 03:21:01 +00:00
bors
d1e0490239 Auto merge of #4773 - lzutao:rls/print-something, r=Manishearth
build: avoid timing out in Travis

cc #4770
changelog: none
2019-11-05 20:57:00 +00:00
Manish Goregaokar
b8c2cb17e6 Turn off stdsimd integration test 2019-11-05 22:50:09 +07:00
Lzu Tao
98313bd83a chore: remove unnecessary parentheses around type 2019-11-05 22:05:55 +07:00
Lzu Tao
a37bd8c376 build: avoid timing out in Travis 2019-11-05 21:36:44 +07:00
bors
000c3ff278 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
2019-10-29 09:41:27 +00:00
bors
3156e0957f Auto merge of #4753 - mikerite:approx-const-20191029, r=flip1995
Simplify approx const truncation check

changelog: none
2019-10-29 09:17:53 +00:00
Michael Wright
5ce8990885 Simplify approx const truncation check 2019-10-29 08:34:05 +02:00
Lzu Tao
55c3a3b282 build: do not cache clippy binaries in integration tests
We rebuild clippy anyway.
2019-10-29 11:08:06 +07:00
bors
e2104d1e2e Auto merge of #4720 - lzutao:int-errexit, r=phansch
Do not early exit if cargo clippy returns non-zero status code

changelog: none
2019-10-29 03:16:14 +00:00
Lzu Tao
84da79e922 build: strip before caching in .cargo/bin 2019-10-29 10:16:10 +07:00
Lzu Tao
53f14abe1f Early exit in integration tests 2019-10-29 10:16:10 +07:00
bors
add2c6cff1 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
2019-10-28 20:26:41 +00:00
bors
c8e3cfbdd9 Auto merge of #4749 - flip1995:backport_merge, r=Manishearth
Merge backport branches back into master

r? @Manishearth

cc #4745

changelog: none
2019-10-28 17:12:24 +00:00
flip1995
e4e1a5a0d9
Merge remote-tracking branch 'upstream/rust-1.39.0' into backport_merge 2019-10-28 16:54:15 +01:00
flip1995
cfcd53dd4c
Merge remote-tracking branch 'upstream/rust-1.38.0' into backport_merge 2019-10-28 16:53:03 +01:00
flip1995
e6f16c77c1
Merge remote-tracking branch 'upstream/rust-1.36.0' into backport_merge 2019-10-28 16:51:15 +01:00
bors
e93a8f989c Auto merge of #4747 - matthiaskrgr:rustup_19, r=flip1995
rustup https://github.com/rust-lang/rust/pull/65792/

changelog: none
2019-10-28 14:26:02 +00:00
Matthias Krüger
407e5a000a travis: temporarily disable rustfmt ci check until #4742 is resolved 2019-10-28 15:15:32 +01:00
Matthias Krüger
ece5f862c4 rustup https://github.com/rust-lang/rust/pull/65792/ 2019-10-28 15:15:28 +01:00
Philipp Hansch
05aac0d8c1
UI test cleanup: Extract derive_hash_xor_eq tests 2019-10-28 07:34:29 +01:00
bors
66df92aeba Auto merge of #4739 - flip1995:rustup, r=flip1995
Rustup to rust-lang/rust#65773

changelog: none
2019-10-26 20:30:02 +00:00
flip1995
4a52dd6c53
Rustup to rust-lang/rust#65773 2019-10-26 21:54:04 +02:00
bors
e402ddd616 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
2019-10-26 18:19:19 +00:00
flip1995
1e1d45a005
Move manual_mul_add into nursery 2019-10-26 19:57:01 +02:00
bors
b3ecd48d2e 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
2019-10-25 13:24:37 +00:00
Lzu Tao
c38dd2ad0b build: install RTIM if it doesn't exist and upgrade it if it is in cargo bin home 2019-10-25 20:20:15 +07:00
bors
42f32a07f9 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
2019-10-24 19:22:22 +00:00
Lzu Tao
97d76f55ce appveyor: Leading space change only 2019-10-25 00:57:28 +07:00
Lzu Tao
eba90802b1 appveyor: Minor config change 2019-10-25 00:57:28 +07:00
bors
bfef48f185 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
2019-10-24 17:53:42 +00:00
bors
37ea436821 Auto merge of #4713 - lzutao:no-reinstall-toolchain, r=phansch
build: do not reinstall master toolchain if it is up-to-date

changelog: none
2019-10-24 17:30:40 +00:00
Lzu Tao
6193b36ab2 build: do not reinstall master toolchain if it is up-to-date 2019-10-24 21:59:57 +07:00
msizanoen
a127e14631 Remove clippy plugin 2019-10-24 21:12:19 +07:00
bors
8ab24d76dd 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
2019-10-24 13:13:15 +00:00
flip1995
b2616641d9
Fix dogfood findings 2019-10-24 14:39:19 +02:00
flip1995
8d38a07fb6
Revert "rustc-dev has been temporarily removed"
This reverts commit 974a05b806.
2019-10-24 14:03:24 +02:00
flip1995
562cc63b7e
Fix lint_without_lint_pass lint 2019-10-24 13:54:18 +02:00
flip1995
237e168b89
Fix tests 2019-10-24 13:29:51 +02:00
flip1995
ef02e3a755
Run ./util/dev fmt 2019-10-24 11:55:22 +02:00
flip1995
5f4b5b91d7
Rustup to rust-lang/rust#65657 2019-10-24 11:54:11 +02:00
Mark Rousskov
8c205018d2
Update clippy_dev 2019-10-24 11:47:00 +02:00
Mark Rousskov
7e77f3c29f
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.
2019-10-24 11:40:45 +02:00