| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-02 | Rustup to rust-lang/rust#68133 | Yuki Okushi | -2/+2 | |
| 2020-01-30 | lint all guard types, not just lock functions | Areredify | -3/+3 | |
| 2020-01-30 | add lint | Mikhail Babenko | -0/+3 | |
| 2020-01-27 | Rename `span_note_and_lint` to `span_lint_and_note` | Yuki Okushi | -2/+2 | |
| 2020-01-27 | Rename `span_help_and_lint` to `span_lint_and_help` | Yuki Okushi | -4/+4 | |
| 2020-01-26 | Don't use ExpnKind::descr to get the name of a bang macro. | Eduard-Mihai Burtescu | -13/+13 | |
| 2020-01-25 | Auto merge of #5081 - Areredify:vec_box_threshold, r=flip1995 | bors | -0/+2 | |
| 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 | -0/+2 | |
| 2020-01-24 | don't fire empty_loop in no_std crates | Mikhail Babenko | -1/+11 | |
| 2020-01-23 | add `option_as_ref_deref` lint | Areredify | -0/+8 | |
| 2020-01-22 | Rustup to rust-lang/rust#68140 | Yuki Okushi | -1/+1 | |
| 2020-01-18 | Rustup to rust-lang/rust#68204 | Yuki Okushi | -4/+12 | |
| 2020-01-15 | Add lint for default lint description | Brad Sherman | -4/+49 | |
| - Lint for any new lints that have the default lint description from the automation | ||||
| 2020-01-15 | Auto merge of #5034 - ThibsG:MatchWildErrArmImprove5024, r=flip1995 | bors | -0/+43 | |
| Match wild err arm improvements This lint should trigger on other identifiers which have `_` prefix (such as `_e`) and only if they are unused in the panic block. _Note_: the `is_unused` function is greatly inspired from `pat_is_wild` function in [loops lints](https://github.com/rust-lang/rust-clippy/blob/43ac9416d935942d6c7d2b2e0c876c551652c4ec/clippy_lints/src/loops.rs#L1689). I've been considering doing some refactoring, maybe in utils. Maybe this PR or a new one. What do you think ? fixes #5024 changelog: none | ||||
| 2020-01-13 | Auto merge of #4543 - xiongmao86:issue4503, r=flip1995 | bors | -0/+1 | |
| Fix issue4503 Fixes #4503. changelog: Add a lint checking user are using FileType.is_file() method and suggest using !FileType.is_dir(). - [x] Followed [lint naming conventions][lint_naming] - [x] Added passing UI tests (including committed `.stderr` file) - [x] `cargo test` passes locally - [x] Executed `./util/dev update_lints` - [x] Added lint documentation - [x] Run `./util/dev fmt` | ||||
| 2020-01-13 | Extract visitor to utils | ThibsG | -0/+43 | |
| 2020-01-13 | Rustup to rust-lang/rust#68045 | Yuki Okushi | -10/+10 | |
| 2020-01-12 | Add lint logic. | xiongmao86 | -0/+1 | |
| 2020-01-11 | Rustup to rust-lang/rust#67806 | Yuki Okushi | -8/+6 | |
| 2020-01-11 | Apply review comments | Yuki Okushi | -11/+5 | |
| 2020-01-11 | Rustup to rust-lang/rust#68101 | Yuki Okushi | -2/+1 | |
| 2020-01-11 | Rustup to rust-lang/rust#67258 | Yuki Okushi | -5/+16 | |
| 2020-01-09 | Rustup to rust-lang/rust#67979 | Yuki Okushi | -8/+20 | |
| 2020-01-08 | Fix useless attribute suggestion | flip1995 | -2/+11 | |
| 2020-01-08 | Rustup to rust-lang/rust#67970 | Yuki Okushi | -1/+3 | |
| 2020-01-07 | Make utils::remove_blocks non-recursive | Lzu Tao | -6/+5 | |
| 2020-01-07 | Rustup to rust-lang/rust#67886 | Yuki Okushi | -24/+25 | |
| 2020-01-04 | Rustup to https://github.com/rust-lang/rust/pull/67853 | Philipp Hansch | -8/+9 | |
| Specifically caused by https://github.com/rust-lang/rust/pull/67786 | ||||
| 2020-01-03 | No #[no_mangle] must_use_candidate functions | Andre Bogus | -6/+9 | |
| 2020-01-02 | Move `is_normalizable` into utils | Yuki Okushi | -0/+9 | |
| 2019-12-31 | Rustup to rust-lang/rust#67707 | Yuki Okushi | -5/+5 | |
| 2019-12-30 | Rustup to rust-lang/rust#66942 | Yuki Okushi | -34/+34 | |
| 2019-12-27 | Rustup to rust-lang/rust#66936 | Yuki Okushi | -101/+130 | |
| 2019-12-24 | rustup "Add span information to `ExprKind::Assign`" | Lzu Tao | -5/+8 | |
| 2019-12-24 | do minor cleanups | Lzu Tao | -4/+0 | |
| * ToString and AsRef are in prelude, no need to import them | ||||
| 2019-12-23 | Auto merge of #4823 - Areredify:must_use_res, r=flip1995 | bors | -1/+69 | |
| Add `let_underscore_must_use` lint changelog: closes #4812 , added a new `let_underscore_must_use` lint, moved `is_must_use_ty` to utils, added `is_must_use_fn` util function | ||||
| 2019-12-23 | a few small cleanups | Lzu Tao | -11/+7 | |
| 2019-12-22 | implemented `let_underscore` lint | Mikhail Babenko | -1/+23 | |
| actually add files update lints change to pedantic | ||||
| 2019-12-22 | move is_must_use_ty to utils | Mikhail Babenko | -1/+47 | |
| 2019-12-22 | Add <'_> where necessary | flip1995 | -13/+13 | |
| 2019-12-21 | rustup "Merge `ast::Mutability` and `mir::Mutability`" | Lzu Tao | -2/+2 | |
| 2019-12-04 | Rustup to rust-lang/rust#66878 | Matthias Krüger | -4/+7 | |
| 2019-11-29 | fmt | Philipp Hansch | -1/+1 | |
| 2019-11-29 | Make triggering this lint less likely :paperclip: | Philipp Hansch | -1/+1 | |
| 2019-11-29 | Add custom ICE message that points to Clippy repo | Philipp Hansch | -0/+39 | |
| This utilizes https://github.com/rust-lang/rust/pull/60584 by setting our own `panic_hook` and pointing to our own issue tracker instead of the rustc issue tracker. This also adds a new internal lint to test the ICE message. **Potential downsides** * This essentially copies rustc's `report_ice` function as `report_clippy_ice`. I think that's how it's meant to be implemented, but maybe @jonas-schievink could have a look as well =) The downside of more-or-less copying this function is that we have to maintain it as well now. The original function can be found [here][original]. * `driver` now depends directly on `rustc` and `rustc_errors` Closes #2734 [original]: https://github.com/rust-lang/rust/blob/59367b074f1523353dddefa678ffe3cac9fd4e50/src/librustc_driver/lib.rs#L1185 | ||||
| 2019-11-29 | Use infer_ctxt | flip1995 | -9/+4 | |
| 2019-11-28 | Fix categorizations | Manish Goregaokar | -7/+6 | |
| 2019-11-28 | Fix arguments on ExprUseVisitor::new | Manish Goregaokar | -2/+0 | |
| 2019-11-28 | euv moved from middle to typeck | Manish Goregaokar | -3/+1 | |
| 2019-11-28 | cmt_ -> Place | Manish Goregaokar | -4/+4 | |
