| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-11-11 | Implement destructuring assignment for structs and slices | Fabian Zaiser | -7/+22 | |
| Co-authored-by: varkor <github@varkor.com> | ||||
| 2020-11-05 | Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup | flip1995 | -342/+1688 | |
| 2020-10-28 | Merge commit '645ef505da378b6f810b1567806d1bcc2856395f' into clippyup | Eduardo Broto | -97/+1451 | |
| 2020-10-26 | Remove lint from clippy | Nathan Whitaker | -70/+0 | |
| 2020-10-23 | Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup | Eduardo Broto | -132/+940 | |
| 2020-10-22 | Fix clippy tests | varkor | -0/+3 | |
| 2020-10-16 | Rollup merge of #77493 - ↵ | Dylan DPC | -0/+2 | |
| hosseind88:ICEs_should_always_print_the_top_of_the_query_stack, r=oli-obk ICEs should always print the top of the query stack see #76920 | ||||
| 2020-10-14 | fix stderr file of clippy/custom_ice_message test | hosseind88 | -1/+1 | |
| 2020-10-09 | add new line | hosseind75 | -1/+1 | |
| 2020-10-09 | fix clippy custom_ice_message test | hosseind75 | -0/+2 | |
| 2020-10-09 | Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup | flip1995 | -210/+607 | |
| 2020-10-04 | Prevent forbid from being ignored if overriden at the same level. | Felix S. Klock II | -13/+4 | |
| That is, this changes `#[forbid(foo)] #[allow(foo)]` from allowing foo to forbidding foo. | ||||
| 2020-10-02 | Deprecate clippy lint | Michael Howell | -25/+8 | |
| 2020-09-24 | Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup | flip1995 | -657/+2089 | |
| 2020-09-20 | Update Clippy testcases | Christiaan Dirkx | -65/+91 | |
| Update the test `redundant_pattern_matching`: check if `is_some` and `is_none` are suggested within const contexts. | ||||
| 2020-09-20 | Auto merge of #76136 - CDirkx:const-result, r=dtolnay | bors | -183/+93 | |
| Stabilize some Result methods as const Stabilize the following methods of Result as const: - `is_ok` - `is_err` - `as_ref` A test is also included, analogous to the test for `const_option`. These methods are currently const under the unstable feature `const_result` (tracking issue: #67520). I believe these methods to be eligible for stabilization because of the stabilization of #49146 (Allow if and match in constants) and the trivial implementations, see also: [PR#75463](https://github.com/rust-lang/rust/pull/75463) and [PR#76135](https://github.com/rust-lang/rust/pull/76135). Note: these methods are the only methods currently under the `const_result` feature, thus this PR results in the removal of the feature. Related: #76225 | ||||
| 2020-09-20 | Update Clippy testcases | Christiaan Dirkx | -183/+93 | |
| Update the test `redundant_pattern_matching`: check if `is_ok` and `is_err` are suggested within const contexts. Also removes the `redundant_pattern_matching_const_result` test, as it is no longer needed. | ||||
| 2020-09-10 | Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup | flip1995 | -227/+803 | |
| 2020-09-08 | Adjust Clippy for CONST_ITEM_MUTATION lint | Aaron Hill | -45/+23 | |
| We no longer lint assignments to const item fields in the `temporary_assignment` lint, since this is now covered by the `CONST_ITEM_MUTATION` lint. Additionally, we `#![allow(const_item_mutation)]` in the `borrow_interior_mutable_const.rs` test. Clippy UI tests are run with `-D warnings`, which seems to cause builtin lints to prevent Clippy lints from running. | ||||
| 2020-09-02 | Improve recovery on malformed format call | Sasha | -3/+3 | |
| If a comma in a format call is replaced with a similar token, then we emit an error and continue parsing, instead of stopping at this point. | ||||
| 2020-08-28 | Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup | flip1995 | -315/+2315 | |
| 2020-08-24 | Unbreak the clippy test | Scott McMurray | -1/+3 | |
| 2020-08-17 | clippy: support `QPath::LangItem` | David Wood | -7/+9 | |
| This commit updates clippy with the introduction of `QPath::LangItem` so that it still compiles. Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2020-08-11 | Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup | flip1995 | -358/+1354 | |
| 2020-08-11 | Rollup merge of #75098 - Ryan1729:clippy-pointer-cast-lint-experiment, r=oli-obk | Dylan DPC | -0/+236 | |
| Clippy pointer cast lint experiment This PR is an experiment about exposing more parts of `rustc_typeck` for use in `clippy`. In particular, the code that checks where a cast is valid or not was exposed, which necessitated exposing [`FnCtxt`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_typeck/check/struct.FnCtxt.html), and figuring out how to create an instance of that type inside `clippy`. This was prompted by [this clippy issue](https://github.com/rust-lang/rust-clippy/issues/2064). r? @oli-obk | ||||
| 2020-08-09 | add allow unused_unsafe and allow dead_code | Ryan1729 | -10/+12 | |
| 2020-08-09 | fix unary minus on usize and unused variable errors in .fixed file | Ryan1729 | -32/+32 | |
| 2020-08-09 | add a test example of where transmutes_expressible_as_ptr_casts should not ↵ | Ryan1729 | -2/+26 | |
| suggest anything | ||||
| 2020-08-08 | update stderr for transmutes_expressible_as_ptr_casts | Ryan1729 | -8/+8 | |
| 2020-08-07 | Auto merge of #74821 - oli-obk:const_eval_read_uninit_fast_path, r=wesleywiser | bors | -21/+1 | |
| Check whether locals are too large instead of whether accesses into them are too large Essentially this stops const prop from attempting to optimize ```rust let mut x = [0_u8; 5000]; x[42] = 3; ``` I don't expect this to be a perf improvement without #73656 (which is also where the lack of this PR will be a perf regression). r? @wesleywiser | ||||
| 2020-08-06 | copy over *.fixed file | Ryan1729 | -0/+77 | |
| 2020-08-06 | Apply suggestions from code review | Ryan Wiedemann | -0/+1 | |
| Co-authored-by: Philipp Krones <hello@philkrones.com> | ||||
| 2020-08-06 | add newline to transmutes_expressible_as_ptr_casts.rs | Ryan1729 | -1/+1 | |
| 2020-08-06 | add extra error message to the expected stderr for ↵ | Ryan1729 | -1/+7 | |
| transmutes_expressible_as_ptr_casts test | ||||
| 2020-08-06 | add documentation to functions that call `do_check` and add a test against ↵ | Ryan1729 | -0/+11 | |
| lint ordering changing | ||||
| 2020-08-06 | get the expected number of errors by acknowledging that other lints are ↵ | Ryan1729 | -4/+61 | |
| covering the same ground | ||||
| 2020-08-06 | try putting the can_be_expressed_as_pointer_cast at the top and find that we ↵ | Ryan1729 | -2/+2 | |
| still get an ICE | ||||
| 2020-08-06 | write currently failing test for transmutes_expressible_as_ptr_casts | Ryan1729 | -1/+54 | |
| There are 5 errors, when there should be 7. | ||||
| 2020-08-06 | run cargo dev new_lint then move transmutes_expressible_as_ptr_casts into ↵ | Ryan1729 | -0/+5 | |
| transmute module | ||||
| 2020-08-02 | fix typos | liuzhenyu | -1/+1 | |
| 2020-07-29 | Update clippy ui test. | Oliver Scherer | -21/+1 | |
| The reason we do not trigger these lints anymore is that clippy sets the mir-opt-level to 0, and the recent changes subtly changed how the const propagator works. | ||||
| 2020-07-26 | Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup | flip1995 | -104/+344 | |
| 2020-07-14 | Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup | flip1995 | -179/+2202 | |
| 2020-07-11 | Rollup merge of #72920 - oli-obk:const_transmute, r=RalfJung | Manish Goregaokar | -9/+1 | |
| Stabilize `transmute` in constants and statics but not const fn cc #53605 (leaving issue open so we can add `transmute` to `const fn` later) Previous attempt: #64011 r? @RalfJung cc @rust-lang/wg-const-eval | ||||
| 2020-07-11 | Stabilize `transmute` in constants and statics but not const fn | Oliver Scherer | -9/+1 | |
| 2020-07-10 | Avoid "whitelist" | Tamir Duberstein | -2/+2 | |
| Other terms are more inclusive and precise. | ||||
| 2020-07-03 | Use 'tcx for references to AccessLevels wherever possible. | Eduard-Mihai Burtescu | -4/+4 | |
| 2020-06-28 | Update tests | Dylan MacKenzie | -42/+34 | |
| 2020-06-23 | Merge commit 'c2c07fa9d095931eb5684a42942a7b573a0c5238' into clippyup | flip1995 | -92/+512 | |
| 2020-06-10 | Migrate to numeric associated consts | Lzu Tao | -19/+19 | |
