about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2020-01-07Update stderrsYuki Okushi-498/+498
2020-01-07Normalize lint messagesYuki Okushi-127/+133
2020-01-07Auto merge of #5011 - JohnTitor:split-collapsible-if, r=flip1995bors-283/+302
Split up `collapsible_if` ui test Part of #2038 changelog: none
2020-01-07Auto merge of #5010 - lzutao:recurse-remove_blocks, r=phanschbors-6/+5
Make utils::remove_blocks non-recursive changelog: none
2020-01-07Auto merge of #5002 - lzutao:fmt-fallout, r=flip1995bors-1/+5
build: Use rustfmt from lastest nightly that contains it changelog: none
2020-01-07Auto merge of #4999 - krishna-veerareddy:issue-4679-atomic-ordering, r=phanschbors-2/+737
Add lint to detect usage of invalid atomic ordering Detect usage of invalid atomic ordering modes such as `Ordering::{Release, AcqRel}` in atomic loads and `Ordering::{Acquire, AcqRel}` in atomic stores. Fixes #4679 changelog: Add lint [`invalid_atomic_ordering`]
2020-01-07Split up `collapsible_if` ui testYuki Okushi-283/+302
2020-01-07Auto merge of #5009 - lzutao:travis-windows-msvc, r=phanschbors-1/+7
Travis: Use windows-msvc target for Windows build changelog: none closes #5005
2020-01-07Make utils::remove_blocks non-recursiveLzu Tao-6/+5
2020-01-07Travis: Use windows-msvc target for Windows buildLzu Tao-1/+7
2020-01-06Prevent doc-tests from running and fix lint descriptionKrishna Sai Veera Reddy-5/+5
2020-01-06Split test cases into separate filesKrishna Sai Veera Reddy-583/+620
2020-01-06Add lint to detect usage of invalid atomic orderingKrishna Sai Veera Reddy-2/+700
Detect usage of invalid atomic ordering modes such as `Ordering::{Release, AcqRel}` in atomic loads and `Ordering::{Acquire, AcqRel}` in atomic stores.
2020-01-06Auto merge of #5008 - JohnTitor:let-on-macros, r=flip1995bors-1/+24
Do not trigger `let_and_return` lint on macros Fixes #4997 changelog: Fix false positive in `let_and_return`
2020-01-07Do not trigger `let_and_return` lint on macrosYuki Okushi-1/+24
2020-01-07build: Use rustfmt from lastest nightly that contains itLzu Tao-1/+5
2020-01-06Auto merge of #5003 - JohnTitor:rustup, r=flip1995bors-218/+229
Rustup to rust-lang/rust#67886 changelog: none
2020-01-07Fix test againYuki Okushi-3/+1
2020-01-07Pick up lost propertyYuki Okushi-1/+1
2020-01-07Rustup to rust-lang/rust#67886Yuki Okushi-218/+231
2020-01-05Auto merge of #4998 - JohnTitor:revive-rls, r=llogiqbors-5/+3
Re-enable rls integration test It seems rls integration test passes correctly: https://travis-ci.com/rust-lang/rust-clippy/builds/143133541 changelog: none
2020-01-06Fix space sizeYuki Okushi-3/+3
2020-01-06Re-enable rls integration testYuki Okushi-2/+0
2020-01-05Auto merge of #4996 - JohnTitor:rustup, r=matthiaskrgrbors-4/+4
Rustup to rust-lang/rust#67803 and rust-lang/rust#67137 changelog: none
2020-01-05Rustup to rust-lang/rust#67137Yuki Okushi-2/+2
2020-01-05Rustup to rust-lang/rust#67803Yuki Okushi-2/+2
2020-01-04Auto merge of #4993 - rust-lang:doc-unsafe-macro-check, r=flip1995bors-9/+58
External macro check for missing_*_doc This fixes #4949 changelog: none
2020-01-04External macro check for missing_*_docAndre Bogus-9/+58
2020-01-04Auto merge of #4966 - bradsherman:iter-nth-zero, r=flip1995bors-8/+154
New Lint: Iter nth zero Check for the use of `iter.nth(0)` and encourage `iter.next()` instead as it is more readable changelog: add new lint when `iter.nth(0)` is used Fixes #4957
2020-01-04Add lint for iter.nth(0)Brad Sherman-6/+152
- Encourage iter.next() rather than iter.nth(0), which is less readable
2020-01-04Fix existing iter-nth-zero violationsBrad Sherman-2/+2
2020-01-04Auto merge of #4992 - phansch:rustup_foobar, r=matthiaskrgrbors-79/+83
Rustup to https://github.com/rust-lang/rust/pull/67853 Specifically caused by https://github.com/rust-lang/rust/pull/67786 changelog: none
2020-01-04Rustup to https://github.com/rust-lang/rust/pull/67853Philipp Hansch-79/+83
Specifically caused by https://github.com/rust-lang/rust/pull/67786
2020-01-04Auto merge of #4881 - krishna-veerareddy:issue-4871-use-mem-take, r=flip1995bors-74/+249
Use `mem::take` instead of `mem::replace` when applicable `std::mem::take` can be used to replace a value of type `T` with `T::default()` instead of `std::mem::replace`. Fixes issue #4871 changelog: Added lint for [`mem_replace_with_default`]
2020-01-04Auto merge of #4990 - JohnTitor:remove-try, r=phanschbors-8/+8
Remove use of `try!` from documentation Makes documentation more modern and directer changelog: none
2020-01-04Remove use of `try!` from documentationYuki Okushi-8/+8
2020-01-03Auto merge of #4989 - rust-lang:no-unmangled-must-use, r=flip1995bors-9/+25
No #[no_mangle] must_use_candidate functions This fixes #4984. changelog: none
2020-01-03No #[no_mangle] must_use_candidate functionsAndre Bogus-9/+25
2020-01-03Auto merge of #4975 - JohnTitor:fix-4968, r=phanschbors-4/+55
Fix ICE on `unsound_collection_transmute` Fixes #4968 Check if `Ty`s are normalizable. It might show hidden false negative, I'm not sure. Also, the regression tests are placed on two dirs, so move them to `/crashes`. I think it will be easier to find the right place. changelog: Fix ICE on `unsound_collection_transmute`
2020-01-03Move `use_self_macro` into `crashes/auxiliary`Yuki Okushi-1/+16
2020-01-03Auto merge of #4978 - mikerite:fix-4958, r=phanschbors-17/+108
Fix bad `explicit_into_iter_loop` suggestion Fixes #4958 changelog: Fix bad `explicit_into_iter_loop` suggestion
2020-01-02Auto merge of #4977 - krishna-veerareddy:issue-4969-replace-consts-fp, r=phanschbors-3/+50
Prevent `replace_consts` lint within match patterns Currently `replace_consts` lint applies within match patterns but the suggestion is incorrect as function calls are disallowed in them. To fix this we prevent the lint from firing within patterns. Fixes #4969 changelog: Fix false positive in `replace_consts` lint
2020-01-01Add `if let` test caseKrishna Veera Reddy-2/+22
2020-01-02Move `is_normalizable` into utilsYuki Okushi-7/+13
2020-01-02Add attributeYuki Okushi-0/+2
2020-01-01Fix bad `explicit_into_iter_loop` suggestionMichael Wright-17/+108
Fixes #4958
2019-12-31Prevent `replace_consts` lint within match patternsKrishna Veera Reddy-3/+30
Currently `replace_consts` lint applies within match patterns but the suggestion is incorrect as function calls are disallowed in them. To fix this we prevent the lint from firing within patterns.
2019-12-31Indicate anonymous lifetimes for typesKrishna Veera Reddy-5/+5
2019-12-31Remove unnecessary importKrishna Veera Reddy-3/+1
2019-12-31Lint within internal macros without a suggestionKrishna Veera Reddy-44/+57