about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2019-10-26Rustup to rust-lang/rust#65773flip1995-0/+108
2019-10-26Auto merge of #4736 - flip1995:icu_mul_add, r=matthiaskrgrbors-5/+6
Move manual_mul_add into nursery Addresses #4735 changelog: Move [`manual_mul_add`] into nursery
2019-10-26Move manual_mul_add into nurseryflip1995-5/+6
2019-10-25Auto merge of #4733 - lzutao:how-rtim, r=flip1995bors-2/+14
build: install RTIM if it doesn't exist and upgrade it if it is in cargo bin home Replace #4731 changelog: none
2019-10-25build: install RTIM if it doesn't exist and upgrade it if it is in cargo bin ↵Lzu Tao-2/+14
home
2019-10-24Auto merge of #4724 - lzutao:minor-appveyor, r=phanschbors-30/+33
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-25appveyor: Leading space change onlyLzu Tao-29/+29
2019-10-25appveyor: Minor config changeLzu Tao-6/+9
2019-10-24Auto merge of #4721 - phansch:fix_try_err_in_ext_macro, r=flip1995bors-7/+37
Don't emit try_err lint in external macros changelog: Fix [`try_err`] false positive in external macros Closes #4709
2019-10-24Auto merge of #4713 - lzutao:no-reinstall-toolchain, r=phanschbors-2/+9
build: do not reinstall master toolchain if it is up-to-date changelog: none
2019-10-24build: do not reinstall master toolchain if it is up-to-dateLzu Tao-2/+9
2019-10-24Remove clippy pluginmsizanoen-40/+0
2019-10-24Auto merge of #4650 - Mark-Simulacrum:clippy-up-lintstore-lockless, r=phanschbors-890/+1215
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-24Fix dogfood findingsflip1995-27/+34
2019-10-24Revert "rustc-dev has been temporarily removed"flip1995-3/+3
This reverts commit 974a05b806954ebdc6640b7ef539667bd7baca56.
2019-10-24Fix lint_without_lint_pass lintflip1995-22/+26
2019-10-24Fix testsflip1995-8/+3
2019-10-24Run ./util/dev fmtflip1995-7/+7
2019-10-24Rustup to rust-lang/rust#65657flip1995-3/+3
2019-10-24Update clippy_devMark Rousskov-8/+32
2019-10-24Update clippy for latest rustc changesMark Rousskov-854/+1149
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-24Don't emit try_err lint in external macrosPhilipp Hansch-7/+37
2019-10-24Auto merge of #4675 - lzutao:improve-shellscript, r=phanschbors-113/+107
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
2019-10-23Auto merge of #4680 - hellow554:debug_assert_mut_call, r=flip1995bors-2/+465
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`
2019-10-23Auto merge of #4691 - HMPerson1:suggest_iter, r=phanschbors-29/+92
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
2019-10-23Auto merge of #4718 - matthiaskrgr:cargo_metadata, r=phanschbors-3/+3
deps: update cargo_metadata from 0.8.0 to 0.9.0 changelog: none
2019-10-23deps: update cargo_metadata from 0.8.0 to 0.9.0Matthias Krüger-3/+3
2019-10-23Auto merge of #4715 - rust-lang:rustup, r=phanschbors-9/+12
Rustup to rust-lang/rust#65647 cc rust-lang/rust#65647 waiting on rust-lang/rust#65690 changelog: none
2019-10-22Use StableHasher in SpanlessHasherflip1995-8/+11
2019-10-22Don't hash spans in SpanlessHasherflip1995-2/+2
2019-10-22build: remove needless BASE_TESTS envLzu Tao-4/+2
2019-10-22Early exit if errors in integration testsLzu Tao-1/+1
2019-10-22build: remove travis_waitLzu Tao-1/+1
Now the travis CI build time is fast enough to not cause build timeout.
2019-10-22nit: ! is not on a condition and skips errexitLzu Tao-1/+1
2019-10-22build: use shared target dirLzu Tao-4/+11
2019-10-22Add lint for debug_assert_with_mut_callMarcel Hellwig-2/+465
This lint will complain when you put a mutable function/method call inside a `debug_assert` macro, because it will not be executed in release mode, therefore it will change the execution flow, which is not wanted.
2019-10-22macos: symlink rustc dev libs to /usr/local/libLzu Tao-5/+10
Due to System Integrity Protection (SIP), exporting LD_LIBRARY_PATH will not work on macOS systems. Therefore, rather than disable SIP, we could symlink those rust dev libs to /usr/local/bin. I already tried install_name_tool(1) but couldn't make clippy-driver work on CI for whatever reasons.
2019-10-22build: improve script and travis configLzu Tao-101/+85
* 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
2019-10-20Auto merge of #4702 - lzutao:build/debug-integration-clippy, r=phanschbors-16/+19
build: use clippy's debug build in integration test changelog: none
2019-10-19build: use clippy's debug build in integration testLzu Tao-16/+19
2019-10-19Auto merge of #4692 - lzutao:use-opt-profile-rtim, r=phanschbors-8/+4
build: use release build of RTIM rustup-toolchain-install-master on Travis Windows builds is unexpectedly slower compared to when run on other OSes. This commit tries to use release build of RTIM as a mean to improve performance there. changelog: none
2019-10-19Auto merge of #4700 - lzutao:rustup-65535, r=phanschbors-2/+2
rustup https://github.com/rust-lang/rust/pull/65535 cc https://github.com/rust-lang/rust/issues/65585 changelog: none
2019-10-19rustup https://github.com/rust-lang/rust/pull/65535Lzu Tao-2/+2
2019-10-18Auto merge of #4696 - rust-lang:need-not-use-proc-macro, r=phanschbors-7/+38
Omit proc macros from `must_use_candidate` This fixes #4684. changelog: none
2019-10-18Fix suggestion for rangesHMPerson1-4/+12
2019-10-18Omit proc macros from `must_use_candidate`Andre Bogus-7/+38
2019-10-18Auto merge of #4657 - Licenser:additional-restrictions, r=flip1995bors-39/+342
Additional restrictions Add restriction lints for `panic!`, `unreachable!`, `todo!` and `.expect(...)` changelog: Add 5 new `restriction` lints: `panic`, `unreachable`, `todo`, `option_expect_used`, `result_expect_used`
2019-10-18build: use release build of RTIMLzu Tao-8/+4
rustup-toolchain-install-master on Travis Windows builds is unexpectedly slower when it was running on other OSes. This commit tries to use release build of RTIM as a mean to improve performance there.
2019-10-18Split out testsHeinz N. Gies-171/+245
2019-10-18Add expectHeinz N. Gies-3/+94
Co-Authored-By: Philipp Krones <hello@philkrones.com>