about summary refs log tree commit diff
path: root/clippy_lints/src
AgeCommit message (Expand)AuthorLines
2020-02-04Add wild and struct handlingThibsG-29/+59
2020-02-04Use span_lint_and_sugg + move infaillible lintThibsG-105/+116
2020-02-04Add new lint: match with a single binding statementThibsG-4/+59
2020-02-03Auto merge of #5129 - JohnTitor:use-checked-sub, r=flip1995bors-3/+11
2020-02-03improve 'iter_nth_zero' documentationAreredify-2/+3
2020-02-03Use `checked_sub` to avoid index out of boundsYuki Okushi-3/+11
2020-02-02Auto merge of #5119 - JohnTitor:tweak-doc, r=flip1995bors-3/+3
2020-02-02Rustup to rust-lang/rust#68133Yuki Okushi-2/+6
2020-02-01Pin versions to trigger lint correctlyYuki Okushi-3/+3
2020-01-31Move debug_assertions_with_mut_call to nurseryflip1995-3/+2
2020-01-31Don't trigger `debug_assert_with_mut_call` on `.await`flip1995-1/+3
2020-01-31Small refactor of mutable_debug_assertionsflip1995-24/+24
2020-01-30Auto merge of #5110 - Aloso:patch-1, r=flip1995bors-24/+50
2020-01-30Un-ignore most code blocks to render correctly on website, correct mistakesLudwig Stecher-21/+47
2020-01-30Fix code formatting for more lintsLudwig Stecher-9/+9
2020-01-30Fix syntax highlighting of code fenceLudwig Stecher-1/+1
2020-01-30lint all guard types, not just lock functionsAreredify-41/+41
2020-01-30decouple 'let_underscore' testsMikhail Babenko-1/+1
2020-01-30add lintMikhail Babenko-18/+67
2020-01-30Reformat code.xiongmao86-5/+5
2020-01-30Declare lint and implement lint logic.xiongmao86-0/+66
2020-01-29Rustup to rust-lang/rust#68512Yuki Okushi-1/+1
2020-01-27Rename `span_note_and_lint` to `span_lint_and_note`Yuki Okushi-26/+26
2020-01-27Rename `span_help_and_lint` to `span_lint_and_help`Yuki Okushi-87/+87
2020-01-26Auto merge of #5084 - JohnTitor:clean-up-span-lint, r=flip1995bors-52/+52
2020-01-26Don't use ExpnKind::descr to get the name of a bang macro.Eduard-Mihai Burtescu-13/+13
2020-01-26Apply review commentsYuki Okushi-13/+13
2020-01-25Auto merge of #5083 - Areredify:issue-4399, r=flip1995bors-16/+22
2020-01-25dont fire possible_missing_comma if intendation is presentMikhail Babenko-16/+22
2020-01-25Auto merge of #5081 - Areredify:vec_box_threshold, r=flip1995bors-182/+203
2020-01-25add size parameter for lintMikhail Babenko-182/+203
2020-01-24Auto merge of #5087 - Areredify:issue-4905, r=phanschbors-4/+18
2020-01-24don't fire empty_loop in no_std cratesMikhail Babenko-15/+17
2020-01-24improve empty_enum documentationMikhail Babenko-4/+18
2020-01-24Clean up `methods/mod.rs`Yuki Okushi-52/+52
2020-01-24Auto merge of #5027 - sinkuu:vectored_io, r=phanschbors-10/+15
2020-01-23Auto merge of #5082 - Areredify:issue-4980, r=flip1995bors-0/+5
2020-01-23disable let_underscore_must_use in external macrosMikhail Babenko-0/+5
2020-01-23add `option_as_ref_deref` lintAreredify-1/+113
2020-01-22Ignore macros with `!` operators in `eq_op`Yuki Okushi-1/+13
2020-01-22Rustup to rust-lang/rust#68140Yuki Okushi-2/+2
2020-01-21Auto merge of #5028 - krishna-veerareddy:issue-5026-mem-ordering-fences, r=ph...bors-33/+64
2020-01-20Auto merge of #5067 - JohnTitor:lint-skip-while-next, r=flip1995bors-0/+46
2020-01-20Auto merge of #5070 - JohnTitor:suspicious-map-doc, r=flip1995bors-2/+3
2020-01-20Apply review commentYuki Okushi-3/+7
2020-01-20Improve `suspicious_map`documentationYuki Okushi-2/+3
2020-01-20Tweak wording in `assertions_on_constants`Yuki Okushi-4/+8
2020-01-20Add `skip_while_next` lintYuki Okushi-0/+42
2020-01-19Auto merge of #5056 - rust-lang:dissasociate-mut-key, r=flip1995bors-11/+14
2020-01-19Avoid mut_key on types of unknown layoutAndre Bogus-11/+14