about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2019-12-23Auto merge of #4939 - matthiaskrgr:bump_git_dep, r=phanschbors-1/+1
deps: bump git2 from 0.10 to 0.11 changelog: none
2019-12-23Auto merge of #4823 - Areredify:must_use_res, r=flip1995bors-49/+331
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
2019-12-23Fix two commit hashes in changelogPhilipp Hansch-2/+2
2019-12-23Auto merge of #4941 - lzutao:utils-mod, r=phanschbors-57/+43
a few small cleanups changelog: none
2019-12-23Auto merge of #4944 - JohnTitor:rustup, r=oli-obkbors-19/+7
Rustup to rust-lang/rust#66877 changelog: none
2019-12-23Rustup to rust-lang/rust#66877Yuki Okushi-19/+7
2019-12-23update term to 0.6Lzu Tao-1/+1
2019-12-23a few small cleanupsLzu Tao-56/+42
2019-12-22implemented `let_underscore` lintMikhail Babenko-6/+285
actually add files update lints change to pedantic
2019-12-22move is_must_use_ty to utilsMikhail Babenko-45/+48
2019-12-22deps: bump git2 from 0.10 to 0.11Matthias Krüger-1/+1
2019-12-22Auto merge of #4938 - flip1995:rustup, r=flip1995bors-117/+117
Rustup to rust-lang/rust#66931 changelog: none
2019-12-22Rustup to rust-lang/rust#66931flip1995-12/+12
2019-12-22Add <'_> where necessaryflip1995-105/+105
2019-12-22Remove trailling .sDaniel Wagner-Hall-7/+7
2019-12-22Auto merge of #4937 - mikerite:fix-4824, r=phanschbors-2/+24
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
2019-12-22Auto merge of #4930 - flip1995:unused_label, r=phanschbors-167/+26
Deprecate unused_label lint This lint was uplifted/turned into warn-by-default in rustc Fixes #4925 changelog: Deprecate [`unused_label`] lint
2019-12-22Fix `map_clone` false positiveMichael Wright-2/+24
Don't lint when the item type is not a reference. `copied` only applies to references.
2019-12-22Auto merge of #4935 - ↵bors-150/+125
krishna-veerareddy:issue-4241-cognitive-complexity-lint-span, r=phansch Reduce cognitive complexity lint span Currently the cognitive complexity lint spans the entire function body making it really difficult to read and refactor the code in editors. To fix this we reduce the lint span to the function name. changelog: Reduce cognitive complexity lint span Fixes #4241
2019-12-22Update wildcard enum match lint for non_exhaustive enumsDaniel Wagner-Hall-9/+84
2019-12-21Reduce cognitive complexity lint spanKrishna Veera Reddy-150/+125
Currently the cognitive complexity lint spans the entire function body making it really difficult to read and refactor the code in editors. To fix this we reduce the lint span to the function name.
2019-12-21Auto merge of #4932 - lzutao:rustup-67355, r=matthiaskrgrbors-52/+49
rustup "Merge `ast::Mutability` and `mir::Mutability`" cc https://github.com/rust-lang/rust/pull/67355 changelog: none
2019-12-21rustup "Merge `ast::Mutability` and `mir::Mutability`"Lzu Tao-52/+49
2019-12-21Deprecate unused_label lintflip1995-167/+26
This lint was uplifted/turned into warn-by-default in rustc
2019-12-21Auto merge of #4922 - oli-cosmian:patch-1, r=flip1995bors-1/+1
There are no per-file copyright headers anymore changelog: none
2019-12-21Auto merge of #4929 - matthiaskrgr:rustup_25, r=matthiaskrgrbors-1/+21
rustup https://github.com/rust-lang/rust/pull/67130 changelog: none
2019-12-21rustup https://github.com/rust-lang/rust/pull/67130Matthias Krüger-1/+21
2019-12-21Auto merge of #4926 - matthiaskrgr:rurstup_24, r=matthiaskrgrbors-2/+2
rustup https://github.com/rust-lang/rust/pull/67455 changelog: none
2019-12-20rustup https://github.com/rust-lang/rust/pull/67455Matthias Krüger-2/+2
2019-12-20There are no per-file copyright headers anymoreOliver Scherer @ Cosmian-1/+1
2019-12-20Auto merge of #4920 - lily-commure:fix-unnecessary-filter-map-docs, r=phanschbors-2/+2
Fix documentation example for unnecessary_filter_map. Fixes #4919. changelog: none
2019-12-20Auto merge of #4913 - mikerite:step-by-zero-20191218, r=phanschbors-106/+120
Move `iterator_step_by_zero` and correct the documentation Move `iterator_step_by_zero` and correct the documentation. changelog: Corrected `iterator_step_by_zero` documentation
2019-12-20Update lints for `iterator_step_by_zero` changesMichael Wright-1/+1
2019-12-20Auto merge of #4921 - qoh:patch-1, r=phanschbors-1/+1
Fix 'redudant' spelling in redundant_clone docs The word 'redundant' is spelled incorrectly in the **What it does** section of the redundant_clone lint's documentation. changelog: Fix spelling in redundant_clone lint documentation
2019-12-20Fix 'redudant' spelling in redundant_clone docsEmma-1/+1
The word 'redundant' is spelled incorrectly in the **What it does** section of the redundant_clone documentation.
2019-12-19Fix documentation example for unnecessary_filter_map.Lily Chung-2/+2
2019-12-19Auto merge of #4915 - mikerite:fix-4912-2, r=phanschbors-2/+22
Fix `expect_fun_call` false negative on references Closes #4912 changelog: Fix `expect_fun_call` false negative on references
2019-12-19Fix `expect_fun_call` false negative on referencesMichael Wright-2/+22
Closes #4912
2019-12-19Fix `iterator_step_by_zero` description in declarationmikerite-1/+1
Co-Authored-By: Phil Hansch <dev@phansch.net>
2019-12-18Auto merge of #4910 - krishna-veerareddy:issue-1205-cmp-nan-against-consts, ↵bors-24/+115
r=phansch Detect comparisons with NAN constants Currently `cmp_nan` lint doesn't detect comparisons with NaN's if the operands are consts variables so to fix this we evaluate the const variables first before testing for NaN. changelog: Detect comparisons with NaN constants in `cmp_nan` lint Fixes #1205
2019-12-18Update changelog for Rust 1.39 and 1.40Philipp Hansch-2/+88
2019-12-18Fix `iterator_step_by_zero` definitionMichael Wright-1/+1
2019-12-18Correct `iterator_step_by_zero` documentationMichael Wright-7/+6
2019-12-18Update iterator_step_by_zeroMichael Wright-104/+119
Move `iterator_step_by_zero` into `methods` since it applies to all iterators and not just ranges. Simplify the code while doing so.
2019-12-17Prevent `cmp_nan` when inside constantsKrishna Veera Reddy-16/+20
`std::{f32,f64}::is_nan` isn't a const fn so prevent `cmp_nan` lint from running within constant comparisons.
2019-12-17Detect comparisons with NAN constantsKrishna Veera Reddy-30/+117
Currently `cmp_nan` lint doesn't detect comparisons with NaN's if the operands are consts variables so to fix this we evaluate the const variables first before testing for NaN.
2019-12-17Auto merge of #4907 - krishna-veerareddy:fix-clippy-build, r=phanschbors-2/+0
Fix clippy build failure Clippy build fails because the feature `result_map_or` has been stabilized in v1.41.0 but we still have an explicit feature attribute for it. changelog: none
2019-12-16Fix clippy build failureKrishna Veera Reddy-2/+0
Clippy build fails because the feature `result_map_or` has been stabilized in v1.41.0 but we still have an explicit feature attribute for it.
2019-12-14Merge pull request #4900 from Mark-Simulacrum/niko-no-neverManish Goregaokar-11/+14
Update tests for revert of never type stabilization
2019-12-14Update tests for revert of never type stabilizationMark Rousskov-11/+14