| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-07-09 | Improve cast_ptr_alignment lint | Florian Gilcher | -4/+12 | |
| * print alignment in bytes in the lint message * ignore ZST left-hand types | ||||
| 2019-07-09 | cast_ptr_alignment: Mention legal use under known problems | Vinzent Steinberg | -1/+2 | |
| Refs #2881. | ||||
| 2019-07-09 | Auto merge of #4233 - thiagoarrais:jens1o-fix-1208, r=phansch,flip1995 | bors | -0/+4 | |
| Avoid reporting string_lit_as_bytes for long strings Port of @jens1o code ([b76f939][jens1o_commit]) Fixes #1208 [jens1o_commit]: https://github.com/jens1o/rust-clippy/commit/b76f939ac2efcfe24900c286b3b7713d972d9088 <!-- Thank you for making Clippy better! We're collecting our changelog from pull request descriptions. If your PR only updates to the latest nightly, you can leave the `changelog` entry as `none`. Otherwise, please write a short comment explaining your change. If your PR fixes an issue, you can add "fixes #issue_number" into this PR description. This way the issue will be automatically closed when your PR is merged. If you added a new lint, here's a checklist for things that will be checked during review or continuous integration. - [ ] Followed [lint naming conventions][lint_naming] - [ ] Added passing UI tests (including committed `.stderr` file) - [ ] `cargo test` passes locally - [ ] Executed `util/dev update_lints` - [ ] Added lint documentation - [ ] Run `cargo fmt` Note that you can skip the above if you are just opening a WIP PR in order to get feedback. Delete this line and everything above before opening your PR --> changelog: bugfix for long strings as bytes | ||||
| 2019-07-08 | Extract semantic constant | Thiago Arrais | -1/+4 | |
| 2019-07-08 | Use empty block instead of unit type for needless return | Bara | -5/+5 | |
| 2019-07-08 | Avoid reporting string_lit_as_bytes for long strings | Jens Hausdorf | -0/+1 | |
| Port of @jens1o code ([b76f939][jens1o_commit]) Fixes #1208 [jens1o_commit]: https://github.com/jens1o/rust-clippy/commit/b76f939ac2efcfe24900c286b3b7713d972d9088 Co-authored-by: Thiago Arrais <thiago.arrais@gmail.com> | ||||
| 2019-07-08 | Implement flat_map lint | Jeremy Stucki | -0/+47 | |
| 2019-07-06 | rustfmt | Michael Wright | -3/+1 | |
| 2019-07-06 | Address reviews | Michael Wright | -12/+21 | |
| 2019-07-06 | Fix breakage due to rust-lang/rust#61988 | Michael Wright | -61/+25 | |
| 2019-07-06 | Fix unknown lint warnings | Michael Wright | -2/+2 | |
| 2019-07-06 | Remove lint for ONCE_INIT | Lzu Tao | -3/+1 | |
| ONCE_INIT will be deprecated in rust 1.38.0 | ||||
| 2019-07-06 | Rename hir::map::local_def_id_from_hir_id to local_def_id | Lzu Tao | -28/+28 | |
| 2019-07-04 | Remove unused import | Michael Wright | -1/+1 | |
| 2019-07-03 | rustup https://github.com/rust-lang/rust/pull/61995 | Matthias Krüger | -4/+4 | |
| 2019-07-03 | Fix allow bug in `trivially_copy_pass_by_ref` | Michael Wright | -31/+11 | |
| Closes #3992 | ||||
| 2019-07-02 | Fix `match_same_arms` false negative | Michael Wright | -3/+17 | |
| Closes #4244 | ||||
| 2019-07-01 | Auto merge of #4243 - mikerite:fix-4058, r=flip1995 | bors | -2/+1 | |
| Fix `never_loop` false positive Closes #4058 changelog: none | ||||
| 2019-07-01 | Auto merge of #4222 - jfrikker:try_err, r=flip1995 | bors | -0/+120 | |
| Adding try_err lint changelog: Adds the "try_err" lint, which catches instances of the following: Err(x)? fixes #4212 | ||||
| 2019-07-01 | Fix `never_loop` false positive | Michael Wright | -2/+1 | |
| Closes #4058 | ||||
| 2019-06-25 | fmt | Manish Goregaokar | -15/+3 | |
| 2019-06-25 | Remove a hir_to_node_id | Manish Goregaokar | -1/+1 | |
| 2019-06-25 | find_by_hir_id -> find | Manish Goregaokar | -17/+17 | |
| 2019-06-25 | get_parent_node_by_hir_id -> get_parent_node | Manish Goregaokar | -17/+17 | |
| 2019-06-24 | Making try_err machine applicable | Joe Frikker | -1/+1 | |
| 2019-06-24 | Simplify unsugar_if to just an if expr check | flip1995 | -12/+12 | |
| 2019-06-24 | Remove ast:: prefix from types | flip1995 | -20/+20 | |
| 2019-06-24 | Put 'if let' back into comment. | Mazdak Farrokhzad | -1/+1 | |
| 2019-06-24 | Pacify rustfmt. | Mazdak Farrokhzad | -3/+2 | |
| 2019-06-24 | Fix dogfood test failures. | Mazdak Farrokhzad | -3/+1 | |
| 2019-06-23 | PR comments | Joe Frikker | -18/+14 | |
| 2019-06-23 | Fix fallout from rust-lang/rust PR 60861. | Mazdak Farrokhzad | -38/+32 | |
| 2019-06-22 | Adding try_err lint | Joe Frikker | -0/+124 | |
| 2019-06-22 | Auto merge of #4220 - d-dorazio:4182-needless-return-void-functions, r=flip1995 | bors | -32/+73 | |
| make needless_return work with void functions fixes https://github.com/rust-lang/rust-clippy/issues/4181. changelog: make needless_return work with void functions. I don't think the failure is related to my changes, but I'm not sure :thinking: | ||||
| 2019-06-22 | Fix fallout cause NodeId pruning | Lzu Tao | -6/+6 | |
| 2019-06-21 | more idiomatic code | Daniele D'Orazio | -32/+42 | |
| 2019-06-21 | Remove another unnecessary lifetime | flip1995 | -1/+1 | |
| 2019-06-21 | Remove needless lifetimes | Jeremy Stucki | -3/+3 | |
| 2019-06-21 | update tests and fix lints in clippy | Daniele D'Orazio | -12/+8 | |
| 2019-06-21 | make needless_return work with void functions | Daniele D'Orazio | -20/+55 | |
| 2019-06-21 | Remove unnecssary lifetime from trait_ref_of_method | flip1995 | -1/+1 | |
| 2019-06-21 | Fix breakage due to rust-lang/rust#61968 | Michael Wright | -41/+37 | |
| 2019-06-20 | Fix warnings about unnecessary lifetime bounds | Lzu Tao | -84/+80 | |
| Rustup https://github.com/rust-lang/rust/pull/61172 | ||||
| 2019-06-19 | Fix lifetime mismatch between LateContext and Ty | Lzu Tao | -3/+8 | |
| 2019-06-19 | Fix missing field in ExprKind::Yield | Lzu Tao | -4/+4 | |
| Rustup rust-lang/rust#61941 | ||||
| 2019-06-19 | Auto merge of #4210 - dtolnay:division, r=flip1995 | bors | -2/+2 | |
| Downgrade integer_division to restriction I believe that this lint falls outside of the scope of opinionated pedantism of the other pedantic lints. changelog: Downgrade integer_division lint from pedantic to restriction | ||||
| 2019-06-18 | Refactor: Replace NodeSet with HirIdSet | Philipp Hansch | -7/+6 | |
| This saves us one HirId -> NodeId conversion. | ||||
| 2019-06-18 | rustup https://github.com/rust-lang/rust/pull/61836/ | Matthias Krüger | -11/+12 | |
| 2019-06-17 | fix suggestion for floating points inequality | Daniele D'Orazio | -1/+5 | |
| It should be of the form `(a - b).abs() > error` whereas it was `(a - b).abs() < error` that is instead what should be used for equality. | ||||
| 2019-06-15 | Downgrade integer_division to restriction | David Tolnay | -2/+2 | |
