about summary refs log tree commit diff
path: root/clippy_lints/src/loops.rs
AgeCommit message (Expand)AuthorLines
2020-01-27Rename `span_help_and_lint` to `span_lint_and_help`Yuki Okushi-3/+3
2020-01-24don't fire empty_loop in no_std cratesMikhail Babenko-4/+4
2020-01-13Extract visitor to utilsThibsG-45/+15
2020-01-13Rustup to rust-lang/rust#68045Yuki Okushi-1/+2
2020-01-11Rustup to rust-lang/rust#67806Yuki Okushi-3/+2
2020-01-09Rustup to rust-lang/rust#67979Yuki Okushi-10/+29
2020-01-07Normalize lint messagesYuki Okushi-1/+1
2020-01-07Rustup to rust-lang/rust#67886Yuki Okushi-3/+3
2020-01-04Rustup to https://github.com/rust-lang/rust/pull/67853Philipp Hansch-1/+1
2020-01-01Fix bad `explicit_into_iter_loop` suggestionMichael Wright-16/+15
2019-12-31Rustup to rust-lang/rust#67707Yuki Okushi-1/+1
2019-12-27Rustup to rust-lang/rust#66936Yuki Okushi-78/+78
2019-12-24rustup "Add span information to `ExprKind::Assign`"Lzu Tao-6/+6
2019-12-21rustup "Merge `ast::Mutability` and `mir::Mutability`"Lzu Tao-10/+10
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-11-29Use infer_ctxtflip1995-9/+4
2019-11-28Fix categorizationsManish Goregaokar-2/+2
2019-11-28Fix arguments on ExprUseVisitor::newManish Goregaokar-2/+0
2019-11-28euv moved from middle to typeckManish Goregaokar-3/+1
2019-11-28cmt_ -> PlaceManish Goregaokar-4/+4
2019-11-27More borrowkind fixesManish Goregaokar-1/+1
2019-11-27Add BorrowKind::RefManish Goregaokar-6/+6
2019-11-25Run rustfmtflip1995-3/+7
2019-11-25Rustup to rust-lang/rust#66671flip1995-6/+6
2019-11-23Rollup merge of #4730 - yerke:fix-check_infinite_loop, r=flip1995Philipp Krones-3/+43
2019-11-22fix check_infinite_loop by checking for break or return inside loop bodyYerkebulan Tulibergenov-3/+43
2019-11-22Rustup to rust-lang/rust#66515flip1995-1/+1
2019-11-11Auto merge of #4803 - tomprogrammer:issue-4732, r=phanschbors-1/+2
2019-11-11MutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureByManish Goregaokar-10/+12
2019-11-11Fix false positive in explicit_counter_loop lintThomas Bahn-1/+2
2019-11-06Fix ICE #4775flip1995-1/+7
2019-10-18Fix suggestion span in `explicit_counter_loop`HMPerson1-1/+10
2019-10-18Suggest calling `iter` if needed in `explicit_counter_loop`HMPerson1-14/+38
2019-10-14new lints around `#[must_use]` fnsAndre Bogus-0/+4
2019-10-04Rustup to rust-lang/rust#64874flip1995-14/+7
2019-10-01Use new spans for expansion checking in loop lintsManish Goregaokar-8/+10
2019-09-27Rustup to rust-lang/rust#64813flip1995-55/+55
2019-09-26Rustup https://github.com/rust-lang/rust/pull/64513Lzu Tao-8/+8
2019-09-25needless_collect: fix suggestion, make test rustfixableManish Goregaokar-2/+7
2019-09-25arm.pats -> arm.patManish Goregaokar-4/+2
2019-09-21for_loop: Split test into fixable/unfixable, make needless_range_loop use upd...Manish Goregaokar-1/+1
2019-09-18Work around qpath_res issueMichael Wright-7/+7
2019-09-11run rustfmtMatthias Krüger-1/+1
2019-09-10Auto merge of #4532 - rust-lang:integer-const, r=oli-obkbors-5/+5
2019-09-10New `is_integer_const` to check more const intsAndre Bogus-5/+5
2019-09-09Changed more Vec paths to diagnostic_itemsAndre Bogus-1/+1
2019-09-09Use diagnostic item forAndre Bogus-4/+4
2019-09-04Refactor option handlingJeremy Stucki-4/+1
2019-09-01fix misleading doc for explicit_counter_loop lintArthur Woimée-8/+7
2019-08-22Add examples to some complexity lintsBO41-0/+8