| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-04 | Merge fixes | ThibsG | -2/+4 | |
| 2020-02-04 | Add wild and struct handling | ThibsG | -7/+213 | |
| 2020-02-04 | Use span_lint_and_sugg + move infaillible lint | ThibsG | -6/+41 | |
| - moving infaillible lint to prevent collisions | ||||
| 2020-02-04 | Add new lint: match with a single binding statement | ThibsG | -0/+39 | |
| - Lint name: MATCH_SINGLE_BINDING | ||||
| 2020-02-04 | Remove unnecessary comment | Yuki Okushi | -7/+3 | |
| 2020-02-03 | Split up `indexing_slicing` ui test | Yuki Okushi | -116/+133 | |
| 2020-02-01 | Split up `drop_forget_ref` ui test | Yuki Okushi | -244/+275 | |
| 2020-01-31 | update test stderr | Matthias Krüger | -29/+29 | |
| 2020-01-31 | Add test for `await` in `debug_assert!(..)` | flip1995 | -29/+38 | |
| 2020-01-31 | Auto merge of #5109 - phansch:ciao_util_dev, r=flip1995 | bors | -1/+1 | |
| Deprecate util/dev in favor of cargo alias This means one less shell script and a bit more cross-platform support for contributors. If you've been using `./util/dev` before, this now becomes `cargo dev`. The key part of this change is found in `.cargo/config` where an alias for calling the `clippy_dev` binary is defined. changelog: none | ||||
| 2020-01-30 | Auto merge of #5108 - JohnTitor:split-up-0130, r=flip1995 | bors | -346/+177 | |
| Split up `match` ui test Part of #2038 Also, this decreases the line length limit to 220. changelog: none | ||||
| 2020-01-30 | Deprecate util/dev in favor of cargo alias | Philipp Hansch | -1/+1 | |
| If you've been using `./util/dev` before, this now becomes `cargo dev`. The key part of this change is found in `.cargo/config`. This means one less shell script and a bit more cross-platform support for contributors. | ||||
| 2020-01-30 | Auto merge of #5101 - Areredify:let_underscore_lock, r=flip1995 | bors | -12/+76 | |
| add `let_underscore_lock` lint closes #1574 changelog: add `let_underscore_lock` lint I am not entirely sure about my docs/messages wording here, improvements are welcome | ||||
| 2020-01-30 | lint all guard types, not just lock functions | Areredify | -4/+31 | |
| 2020-01-30 | decouple 'let_underscore' tests | Mikhail Babenko | -45/+50 | |
| 2020-01-30 | add lint | Mikhail Babenko | -1/+33 | |
| 2020-01-30 | Split up `match` ui test | Yuki Okushi | -346/+177 | |
| 2020-01-30 | Revive test in `enum_clike_unportable_variant` | Yuki Okushi | -16/+21 | |
| 2020-01-30 | Add test and update reference. | xiongmao86 | -0/+34 | |
| 2020-01-27 | Split up `non_copy_const` ui test | Yuki Okushi | -300/+335 | |
| 2020-01-26 | Auto merge of #5084 - JohnTitor:clean-up-span-lint, r=flip1995 | bors | -26/+69 | |
| Clean up `span_lint` in `methods/mod.rs` Uses `span_help_and_lint` instead of `span_lint` and `span_lint_and_sugg` instead of `span_lint_and_then`. changelog: none | ||||
| 2020-01-26 | Resolve FIXME: String::new is now a const fn | Philipp Hansch | -7/+6 | |
| `const_string_new` is stable since Rust 1.39 | ||||
| 2020-01-26 | Apply review comments | Yuki Okushi | -26/+26 | |
| 2020-01-25 | Auto merge of #5083 - Areredify:issue-4399, r=flip1995 | bors | -1/+20 | |
| dont fire `possible_missing_comma` if intendation is present Closes #4399 changelog: dont fire `possible_missing_comma` if intendation is present I suspect there is already a utils function for indentation (but searching indent didn't yield a function for that), and my solution is certainly not universal, but it's probably the best we can do. | ||||
| 2020-01-25 | dont fire possible_missing_comma if intendation is present | Mikhail Babenko | -1/+20 | |
| 2020-01-25 | Auto merge of #5081 - Areredify:vec_box_threshold, r=flip1995 | bors | -6/+48 | |
| add size parameter for `vec_box` lint changelog: add size threshold for the `vec_box` lint, currently 4096 bytes (one page) (subject to change). Closes #3547. diff is a little bit confusing due to some refactoring (moving free functions to lint struct functions), relevant portion is [this](https://github.com/rust-lang/rust-clippy/compare/master...Areredify:vec_box_threshold?expand=1#diff-1096120ca9143af89dcc9175ea92b54aR294-R298). In hindsight should've been different commits, but oh well. | ||||
| 2020-01-25 | add size parameter for lint | Mikhail Babenko | -6/+48 | |
| 2020-01-25 | Split up `match_same_arms` ui test | Yuki Okushi | -222/+219 | |
| 2020-01-24 | Auto merge of #5087 - Areredify:issue-4905, r=phansch | bors | -1/+1 | |
| improve `empty_enum` documentation closes #4905 changelog: improve `empty_enum` help message and documentation. | ||||
| 2020-01-24 | Auto merge of #5086 - Areredify:issue-3746, r=phansch | bors | -0/+22 | |
| don't fire `empty_loop` in `no_std` crates closes #3746. changelog: move no_std detection to utils, don't fire empty_loop in no_std crates | ||||
| 2020-01-24 | don't fire empty_loop in no_std crates | Mikhail Babenko | -0/+22 | |
| 2020-01-24 | improve empty_enum documentation | Mikhail Babenko | -1/+1 | |
| 2020-01-24 | Split up `needless_range_loop` ui test | Yuki Okushi | -189/+194 | |
| 2020-01-24 | Update stderrs | Yuki Okushi | -26/+69 | |
| 2020-01-24 | Auto merge of #5027 - sinkuu:vectored_io, r=phansch | bors | -5/+23 | |
| Lint vectored IO in unused_io_amount lint `read_vectored` & `write_vectored` require handling returned value likewise non-vectored methods. https://github.com/rust-lang/rust/issues/68041 --- changelog: lint vectored IO in `unused_io_amount` lint | ||||
| 2020-01-23 | Auto merge of #5082 - Areredify:issue-4980, r=flip1995 | bors | -12/+19 | |
| disable let_underscore_must_use in external macros changelog: disable let_underscore_must_use in external macros Closes #4980 | ||||
| 2020-01-23 | disable let_underscore_must_use in external macros | Mikhail Babenko | -12/+19 | |
| 2020-01-23 | add `option_as_ref_deref` lint | Areredify | -0/+171 | |
| 2020-01-22 | Ignore macros with `!` operators in `eq_op` | Yuki Okushi | -0/+9 | |
| 2020-01-21 | Auto merge of #5068 - JohnTitor:split-up-transmute, r=phansch | bors | -213/+218 | |
| Split up `transmute` ui test Part of #2038 changelog: none | ||||
| 2020-01-21 | Auto merge of #5028 - krishna-veerareddy:issue-5026-mem-ordering-fences, ↵ | bors | -0/+39 | |
| r=phansch Detect usage of invalid atomic ordering in memory fences Detect usage of `core::sync::atomic::{fence, compiler_fence}` with `Ordering::Relaxed` and suggest valid alternatives. changelog: Extend `invalid_atomic_ordering` to lint memory fences Fixes #5026 | ||||
| 2020-01-20 | Auto merge of #5067 - JohnTitor:lint-skip-while-next, r=flip1995 | bors | -0/+56 | |
| Add `skip_while_next` lint Fixes #4036 changelog: Add `skip_while_next` lint | ||||
| 2020-01-20 | Auto merge of #5070 - JohnTitor:suspicious-map-doc, r=flip1995 | bors | -1/+1 | |
| Improve `suspicious_map`documentation Fixes #4793 changelog: none | ||||
| 2020-01-20 | Apply review comment | Yuki Okushi | -2/+5 | |
| 2020-01-20 | Improve `suspicious_map`documentation | Yuki Okushi | -1/+1 | |
| 2020-01-20 | Tweak wording in `assertions_on_constants` | Yuki Okushi | -1/+1 | |
| 2020-01-20 | Split up `transmute` ui test | Yuki Okushi | -213/+218 | |
| 2020-01-20 | Add `skip_while_next` lint | Yuki Okushi | -0/+53 | |
| 2020-01-19 | Auto merge of #5056 - rust-lang:dissasociate-mut-key, r=flip1995 | bors | -5/+31 | |
| Avoid mut_key on types of unknown layout This fixes #5020 by requiring a known layout for the key type before linting. Edit: This fixes #5043, too. changelog: none | ||||
| 2020-01-19 | Avoid mut_key on types of unknown layout | Andre Bogus | -5/+31 | |
