about summary refs log tree commit diff
path: root/src/tools/clippy
AgeCommit message (Collapse)AuthorLines
2019-10-08Update ClippyMateusz Mikuła-18/+13
2019-10-01Update clippyManish Goregaokar-11/+18
2019-09-27submodules: update clippy from 68ff8b19 to edd90473Matthias Krüger-7/+9
Changes: ```` Remove clippy::author attribute from trailing_zeroes test Move author issue test to author subdir Fix author lint Rustup to rust-lang/rust#64813 Refactor `booleans` Detect assignment ops in integer_arithmetic ````
2019-09-26Update clippyManish Goregaokar-11/+7
2019-09-25Update clippyManish Goregaokar-14/+10
2019-09-22Update clippyLzu Tao-9/+15
2019-09-09Update clippyLzu Tao-8/+8
2019-09-05Update ClippyLzu Tao-8/+8
2019-09-03Update ClippyYuki Okushi-7/+9
2019-08-30Update Clippyflip1995-16/+7
2019-08-28Update Clippyflip1995-7/+16
2019-08-25submodules: update clippy from 2bcb6155948e2f8b86db08152a5f54bd5af625e5 to ↵Philipp Hansch-7/+7
05f603e6cec63d0b2681a84d4a64a51bccac1624
2019-08-24submodules: update clippy from cd3df6be to 2bcb6155Matthias Krüger-11/+7
Changes: ```` Refactor some minor things Use more if-chains Refactor 'lint_or_fun_call' Refactor 'check_unwrap_or_default' Refactor 'check_impl_item' Add missing field to LitKind::Str Run update_lints for Unicode lint Re-add false positive check Add raw string regression test for useless_format lint Re-factor useless_format lint Update Unicode lint tests Add two more tests, allow 2 other lints. Fix `temporary_cstring_as_ptr` false negative Add more testcases for redundant_pattern_matching Fix suggestions for redundant_pattern_matching Add note on how to find the latest beta commit Remove feature gate for async_await Update if_chain doc link Requested test cleanup Requested changes Ignore lines starting with '#' run-rustfix for unseparated-prefix-literals Add autofixable suggestion for unseparated integer literal suffices Further text improvements Add image docs: Explain how to update the changelog ````
2019-08-20Update Clippyflip1995-8/+10
2019-08-11update clippyRalf Jung-8/+8
2019-08-07submodules: Update clippyLzu Tao-13/+9
2019-07-30submodules: update clippy from dc69a5c0 to c3e91365Matthias Krüger-12/+11
Changes: ```` Fix breakage due to rust-lang/rust#61856 Fix dogfood test Hash discriminant of lifetime.name Hash discriminant of Lifetime::Name Updated tests. Respond to review comments Updated test stderr Added doc comment fixed type printout Respond to comments and improve printout Responded to comments and fixed compile bug Fixed more compile errors Fix some of the compile errors Changed Ty to ty, added lifetime 'tcx Lint for type repetition in trait bounds. ````
2019-07-27submodules: update clippy from 164310dd to dc69a5c0Matthias Krüger-9/+14
Changes: ```` ci: temporarily disable rustfmt checks/tetss since it's broken for nightly rustup https://github.com/rust-lang/rust/pull/62964 Bump version of clippy_dummy update test stderr, not sure which rustc pull request caused this. rustup https://github.com/rust-lang/rust/pull/62859 Fix tests for edition 2018 compatibility Revert "Revert global fmt config and use `rustfmt::skip`" Fix breakage due to rust-lang/rust#60913 Fix breakage due to rust-lang/rust#62705 Revert global fmt config and use `rustfmt::skip` Fix fmt rustup https://github.com/rust-lang/rust/pull/62679/ Update pulldown-cmark to 0.5.3 rustup https://github.com/rust-lang/rust/pull/62764 Add test Format code Decrease maximum length for stderr files Improved imports Fix "unkown clippy lint" error in UI test. Corrections for PR review. Implement lint for inherent to_string() method. UI Test Cleanup: Extract match_ref_pats tests Update UI tests Allow no_effect lint Remove comment cargo fmt UI Test Cleanup: Split up checked_unwrap tests Removed lintining on never type. UI Test Cleanup: Split out out_of_bounds_indexing false positives fixes of `implicit_return` Ignore generated fresh lifetimes in elision check. ````
2019-07-16submodules: update clippy from b0290424 to 164310ddMatthias Krüger-9/+9
Changes: ```` Lint Fix float_cmp false positive when comparing signum grep only lines, that start with 'changelog: ' Get PR number from bors commit message Authenticate with github_api_token Check PRs for changelog entry in the body Deny warnings in CI Disable dogfood on windows for faster build time on travis Revert "Remove `CARGO_INCREMENTAL=0` from windows build" Remove `CARGO_INCREMENTAL=0` from windows build Test with different sysroots dependent on the OS Build sys_root in driver with PathBuf instead of String Don't re-set the LD_LIBRARY_PATH in base_tests.sh Add master toolchain binaries to the PATH Change conditional Stop allowing failures in Travis windows build Fix bug in `implicit_hasher` causing crashes Avoid rustfmt bug on Windows Add rustfmt nightly to appveyor install Work around rustup fallback error on Windows Update documentation to the dev fmt command Remove format checks from CI scripts again. Remove format checks from CI script Improve fmt test failure message Fix crash on `dev --limit-stderr-length` Add dev fmt subcommand don't strip blank lines in lint documentation ````
2019-07-12submodules: Update clippy from 316da7eb to b0290424Lzu Tao-7/+9
2019-07-06Update clippyManish Goregaokar-9/+7
2019-06-26submodules: Update clippy from 8c80b65f to e3cb40e4Lzu Tao-11/+9
2019-06-24submodules: Update clippy from 5a11ed7b to 8c80b65fLzu Tao-33/+10
2019-06-21submodules: Update clippy from 149a988 to 5a11ed7bLzu Tao-7/+34
2019-06-19Update clippy from 868f168c to 149a988Lzu Tao-7/+7
2019-06-18submodules: update clippy from be5d17fe to 868f168cMatthias Krüger-9/+7
Changes: ```` rustup https://github.com/rust-lang/rust/pull/61836/ fix suggestion for floating points inequality ````
2019-06-16submodules: update clippy from 7b2a7a22 to be5d17feMatthias Krüger-8/+10
Changes: ```` Fix wrong lifetime of TyCtxt Use replace_region_in_file for creating the lint list Restructure rename tests Register rename to the LintStore. Rename REDUNDANT_STATIC_LIFETIME to REDUNDANT_STATIC_LIFETIMES. Remove pub from RedundantStaticLifetime.visit_type function. Rename const_static_lifetime to redundant_static_lifetime. Merge StaticConst and StaticStatic lints into StaticConst. Use RedundantStaticLifetime in StaticStatic. Move type-checking logic in StaticConst to RedundantStaticLifetime. Add lint for statics with explicit static lifetime. minor fix make it pass dogfood run rustfmt fix padding and put clippy someplaces show default lint levels group printing prelim arg parse move Lint static def into its own module switch to sorted usable lints Update clippy_dev/src/main.rs initial commit for help improvements on clippy-driver ````
2019-06-13submodules: update clippy from c0dbd34b to 7b2a7a22Matthias Krüger-8/+8
Changes: ```` Fix wrong lifetime of TyCtxt travis: Wait at most 30 minutes for base test Typos and minor grammar corrections Adds lint for integer division redundant_closure_for_method_calls fixes: lint does not trigger when there is a difference in mutability lint does not trigger when the method belongs to a trait which is not implemebted directly (Deref) Fix implicit_return docs rustup https://github.com/rust-lang/rust/pull/61758/files Remove wrong lifetime from LintContext Workaround for rust-lang/rustfmt#3615 Fixing eta with respect to lazy evaluation. ````
2019-06-09submodules: update clippy from 71be6f62 to c0dbd34bMatthias Krüger-7/+7
Changes: ```` travis: disable rls integration test. rustup https://github.com/rust-lang/rust/pull/61669/ Add OUTER_EXPN_INFO lint ````
2019-06-06submodules: update clippy from 20da8f45 to 71be6f62Matthias Krüger-11/+7
Changes: ```` rustup https://github.com/rust-lang/rust/pull/57428/ Remove `to_string()`s from CompilerLintFunctions Fix comment grammar Fix .map(..).unwrap_or_else(..) bad suggestion add suggestions for print/write with newline lint ````
2019-06-03Update clippyManish Goregaokar-8/+10
2019-06-01Update clippyManish Goregaokar-10/+8
2019-05-30submodules: update clippy from fb33fad0 to d2f51228Matthias Krüger-8/+10
Changes: ```` Rustup to https://github.com/rust-lang/rust/pull/61203 rustup https://github.com/rust-lang/rust/pull/60928 rustup https://github.com/rust-lang/rust/pull/61164 (which is included in https://github.com/rust-lang/rust/pull/61274) ````
2019-05-28Update clippy submoduleOliver Scherer-7/+9
2019-05-26Update clippy submoduleOliver Scherer-10/+8
2019-05-22Update clippy submoduleOliver Scherer-11/+9
2019-05-18Update clippyManish Goregaokar-13/+10
2019-05-16Update clippyManish Goregaokar-7/+16
2019-05-14submodules: update clippy from 3710ec59 to ad3269c4Matthias Krüger-19/+7
Changes: ```` Rustfmt all the things Clippy dogfood Update for compiletest changes Use symbols instead of strings Rustup to rustc 1.36.0-nightly (1764b2972 2019-05-12) Add regression test for identity_conversion FP UI test cleanup: Extract many_single_char_names tests Add tests for empty_loop lint Add in_macro again Rename in_macro to in_macro_or_desugar ````
2019-05-11Update clippyManish Goregaokar-9/+17
2019-05-08submodules: update clippy from fc96aa03 to 341c96afMatthias Krüger-9/+9
Changes: ```` rustup https://github.com/rust-lang/rust/pull/60586 Add test for #771. Clean up while_loop tests ````
2019-05-04submodules: update clippy from 2ed0b3bf to fc96aa03Matthias Krüger-8/+10
Changes: ```` Rustup to rustc 1.36.0-nightly (13fde05b1 2019-05-03) Fix link in into_iter_on_array documentation remove function body from "too many args" span check closure arguments before use it format code fix suggestion for search_is_some fix suggestion for search_is_some naively change |&x| to |x| in stderr file cargo fmt useless_let_if_seq handle interior mutability ````
2019-05-01Update clippyManish Goregaokar-8/+8
2019-04-29Update clippyManish Goregaokar-12/+8
2019-04-29Update clippyManish Goregaokar-9/+10
2019-04-25submodules: update clippy from 9897442f to 8c0e038fMatthias Krüger-15/+10
Changes: ```` Rustup for https://github.com/rust-lang/rust/pull/59042 Update pulldown_cmark to 0.5 Only run AppVeyor on r+, try and the master branch Remove approx_constant known problems Suppress let_and_return if let has attributes Add test for or_fun_call macro suggestion UI test cleanup: Extract needless_range_loop tests Change "if types change" to "if you later change the type" ````
2019-04-23Update clippyManish Goregaokar-9/+15
2019-04-21Update ClippyIgor Matuszewski-8/+10
Fixes fallout from https://github.com/rust-lang/rust/pull/60124. Closes #60154.
2019-04-19submodules: update clippy from fbb3a47b to cafbe7f2Matthias Krüger-10/+8
Changes: ```` Update compiletest_rs Typo Fix dogfood error Add lint PathBufPushOverwrite Update *.stderr file Remove code duplication Format code Add test for debug_assert!(false) Don't lint debug_assert!(false) Add run-rustfix for option_map_or_none lint Move two cast_lossless tests to their correct files Change naive_bytecount applicability MaybeIncorrect Add tests for declare_lint_pass and impl_lint_pass Use lint pass macros Document `declare_lint_pass!` Fix lint_without_lint_pass internal lint Use {get,match}_def_path from LateContext Remove uplifted functions {get,match}_def_path from Clippy Add run-rustfix for len_zero lint Add run-rustfix for bool_comparison lint Add run-rustfix for deref_addrof lint while_let_loop uses placeholders in suggestions Remove rust-toolchain file from clippy_dev Update adding_lints.md Update PULL_REQUEST_TEMPLATE Add new lint checklist Create PULL_REQUEST_TEMPLATE Only suggest .copied() for Option right now Also suggest .copied() when .clone() is called on a Copy type Suggest .copied() instead of .cloned() in map_clone when dealing with references Deny rustc internal lints Remove clippy::default_hash_types internal lint Enable -Zunstable-options in .cargo/config ````
2019-04-14Update clippyManish Goregaokar-9/+9