| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-04 | Merge fixes | ThibsG | -1/+1 | |
| 2020-02-04 | Use span_lint_and_sugg + move infaillible lint | ThibsG | -1/+8 | |
| - moving infaillible lint to prevent collisions | ||||
| 2020-01-31 | Move debug_assertions_with_mut_call to nursery | flip1995 | -1/+1 | |
| 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 | 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 | decouple 'let_underscore' tests | Mikhail Babenko | -1/+1 | |
| 2020-01-30 | add lint | Mikhail Babenko | -0/+7 | |
| 2020-01-30 | Declare lint and implement lint logic. | xiongmao86 | -1/+8 | |
| 2020-01-23 | add `option_as_ref_deref` lint | Areredify | -1/+8 | |
| 2020-01-21 | Auto merge of #5028 - krishna-veerareddy:issue-5026-mem-ordering-fences, ↵ | bors | -1/+1 | |
| 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 | Add `skip_while_next` lint | Yuki Okushi | -1/+8 | |
| 2020-01-19 | Rename `ok_if_let` to `if_let_some_result` | Yuki Okushi | -1/+1 | |
| 2020-01-18 | Downgrade range_plus_one to pedantic | Andre Bogus | -1/+1 | |
| 2020-01-12 | Pull master, rebase, and update_lints again. | xiongmao86 | -1/+1 | |
| 2020-01-12 | ./util/dev update_lints. | xiongmao86 | -2/+2 | |
| 2020-01-12 | Declare lint. | xiongmao86 | -0/+7 | |
| 2020-01-09 | Detect usage of invalid atomic ordering in memory fences | Krishna Sai Veera Reddy | -1/+1 | |
| Detect usage of `core::sync::atomic::{fence, compiler_fence}` with `Ordering::Relaxed` and suggest valid alternatives. | ||||
| 2020-01-09 | Auto merge of #4960 - ThibsG:patterns_with_wildcard_#4640, r=flip1995 | bors | -1/+8 | |
| New lint: pats_with_wild_match_arm Wildcard use with other pattern in same match arm. The wildcard covers other(s) pattern(s) as it will match anyway. changelog: add new lint when multiple patterns (including wildcard) are used in a match arm. Fixes #4640. | ||||
| 2020-01-07 | Move `transmute_float_to_int` lint to `complexity` | Krishna Sai Veera Reddy | -1/+1 | |
| `transmute_float_to_int` lint was accidentally added to nursery so moving it to the complexity group. | ||||
| 2020-01-07 | Span help without suggestion | ThibsG | -1/+1 | |
| 2020-01-07 | Change lint name to WILDCARD_IN_OR_PATTERNS | ThibsG | -7/+7 | |
| 2020-01-07 | Move to complexity and adapt test | ThibsG | -1/+1 | |
| - test wildcard_enum_match_arm has been impacted by this new lint | ||||
| 2020-01-07 | New lint: pats_with_wild_match_arm | ThibsG | -0/+7 | |
| - Wildcard use with other pattern in same match arm | ||||
| 2020-01-07 | Apply suggestion from code review | Yuki Okushi | -1/+1 | |
| 2020-01-07 | Update lintlist | Yuki Okushi | -32/+32 | |
| 2020-01-06 | Prevent doc-tests from running and fix lint description | Krishna Sai Veera Reddy | -1/+1 | |
| 2020-01-06 | Add lint to detect usage of invalid atomic ordering | Krishna Sai Veera Reddy | -1/+8 | |
| Detect usage of invalid atomic ordering modes such as `Ordering::{Release, AcqRel}` in atomic loads and `Ordering::{Acquire, AcqRel}` in atomic stores. | ||||
| 2020-01-04 | Add lint for iter.nth(0) | Brad Sherman | -1/+8 | |
| - Encourage iter.next() rather than iter.nth(0), which is less readable | ||||
| 2019-12-31 | Indicate anonymous lifetimes for types | Krishna Veera Reddy | -1/+1 | |
| 2019-12-31 | Move `mem_replace_with_default` out of nursery | Krishna Veera Reddy | -1/+1 | |
| 2019-12-31 | Use `mem::take` instead of `mem::replace` when applicable | Krishna Veera Reddy | -0/+7 | |
| `std::mem::take` can be used to replace a value of type `T` with `T::default()` instead of `std::mem::replace`. | ||||
| 2019-12-28 | Add new lint (modulo_arithmetic) | mgr-inz-rafal | -1/+8 | |
| 2019-12-24 | new lint: mutable_key_type | Andre Bogus | -1/+8 | |
| 2019-12-22 | implemented `let_underscore` lint | Mikhail Babenko | -1/+8 | |
| actually add files update lints change to pedantic | ||||
| 2019-12-21 | Deprecate unused_label lint | flip1995 | -8/+1 | |
| This lint was uplifted/turned into warn-by-default in rustc | ||||
| 2019-12-20 | Update lints for `iterator_step_by_zero` changes | Michael Wright | -1/+1 | |
| 2019-12-18 | Fix `iterator_step_by_zero` definition | Michael Wright | -1/+1 | |
| 2019-12-07 | Add lint to detect transmutes from float to integer | Krishna Veera Reddy | -1/+8 | |
| Add lint that detects transmutation from a float to an integer and suggests usage of `{f32, f64}.to_bits()` instead. | ||||
| 2019-12-06 | Add lint for pub fns returning a `Result` without documenting errors | RobbieClarken | -1/+8 | |
| The Rust Book recommends that functions that return a `Result` type have a doc comment with an `# Errors` section describing the kind of errors that can be returned (https://doc.rust-lang.org/book/ch14-02-publishing-to-crates-io.html#commonly-used-sections). This change adds a lint to enforce this. The lint is allow by default; it can be enabled with `#![warn(clippy::missing_errors_doc)]`. Closes #4854. | ||||
| 2019-11-29 | Move use_self to nursery | Philipp Hansch | -1/+1 | |
| Closes #4859 We have a lot of false positives in this lint, so I think it makes sense to move this to the nursery until they are resolved. changelog: Move `use_self` lint to nursery, due to many false positives | ||||
| 2019-11-28 | Auto merge of #4821 - Areredify:as_conversions, r=flip1995 | bors | -1/+8 | |
| Add `as_conversions` lint changelog: closes #4771, adding a new pedantic allow-by-default lint that lints against any usage of `as`. | ||||
| 2019-11-28 | make use of Result::map_or | Lzu Tao | -1/+1 | |
| 2019-11-25 | implemented `as_conversions` lint | Mikhail Babenko | -1/+8 | |
| actuall add files add better example and change pedantic to restriction | ||||
| 2019-11-23 | Run update_lints | flip1995 | -8/+8 | |
| 2019-11-23 | Merge remote-tracking branch 'FlorianRohm/issue/4623' into rollup-new-lints | flip1995 | -0/+7 | |
| 2019-11-23 | Merge remote-tracking branch 'Areredify/large_stack_arrays' into ↵ | flip1995 | -0/+7 | |
| rollup-new-lints | ||||
| 2019-11-23 | Merge remote-tracking branch 'popzxc/if-same-cond-fn' into rollup-new-lints | flip1995 | -0/+7 | |
| 2019-11-20 | Implement if_same_cond_fn lint | Igor Aleksanov | -1/+8 | |
| Run ./util/dev Revert changelog entry Rename lint to same_functions_in_if_condition and add a doc example Add testcases with different arg in fn invocation | ||||
| 2019-11-15 | New lint: zst_offset | Andre Bogus | -1/+8 | |
| 2019-11-15 | register new lint "tabs in doc comments" and update readme | Florian Rohm | -1/+8 | |
