| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-11-25 | Fix some warnings related to Self | Guillem Nieto | -7/+7 | |
| 2018-11-25 | Rename some symbols | Guillem Nieto | -57/+60 | |
| Renamed some symbols in order to make them a little bit more accurate. | ||||
| 2018-11-25 | Split lint into slow and unsafe vector initalization | Guillem Nieto | -28/+72 | |
| 2018-11-25 | Add unsafe set_len initialization | Guillem Nieto | -7/+33 | |
| 2018-11-25 | Add slow zero-filled vector initialization lint | Guillem Nieto | -0/+307 | |
| Add lint to detect slow zero-filled vector initialization. It detects when a vector is zero-filled with extended with `repeat(0).take(len)` or `resize(len, 0)`. This zero-fillings are usually slower than simply using `vec![0; len]`. | ||||
| 2018-11-24 | Merge pull request #3439 from dtolnay/npbv | Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer | -3/+2 | |
| Downgrade needless_pass_by_value to allow by default | ||||
| 2018-11-23 | rustup https://github.com/rust-lang/rust/pull/54071/ | Matthias Krüger | -2/+2 | |
| 2018-11-22 | Merge pull request #3447 from phansch/small_rename | Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer | -3/+3 | |
| s/file_map/source_map | ||||
| 2018-11-22 | Merge branch 'master' into version_ids | Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer | -50/+99 | |
| 2018-11-22 | s/file_map/source_map | Philipp Hansch | -3/+3 | |
| 2018-11-22 | rust-lang-nursery/rust-clippy => rust-lang/rust-clippy | Matthias Krüger | -7/+6 | |
| 2018-11-21 | Address 'clippy::single-match' dogfood lint | Wayne Warren | -6/+4 | |
| 2018-11-21 | Fix nit | Philipp Krones | -1/+1 | |
| Co-Authored-By: waynr <wayne.warren.s@gmail.com> | ||||
| 2018-11-21 | Address travis CI lint failure | Wayne Warren | -1/+1 | |
| 2018-11-21 | issue#3318 run trivially_copy_pass_by_ref for traits | Wayne Warren | -41/+93 | |
| 2018-11-21 | Enable rustup clippy to refer to the correct documentation | Oliver Scherer | -2/+5 | |
| 2018-11-21 | rustup https://github.com/rust-lang/rust/pull/52591 | Matthias Krüger | -2/+2 | |
| 2018-11-21 | Downgrade needless_pass_by_value to allow by default | David Tolnay | -3/+2 | |
| I noticed that I suppress this lint in many of my projects. https://github.com/search?q=needless_pass_by_value+user%3Adtolnay&type=Code https://github.com/search?q=needless_pass_by_value+user%3Aserde-rs&type=Code Upon further inspection, this lint has a *long* history of false positives (and several remaining). Generally I feel that this lint is the definition of pedantic and should not be linted by default. #[derive(Debug)] enum How { ThisWay, ThatWay, } // Are we really better off forcing the call sites to write f(&_)...? fn f(how: How) { println!("You want to do it {:?}", how); } fn main() { f(How::ThatWay); } | ||||
| 2018-11-19 | Merge #3432 | bors[bot] | -4/+6 | |
| 3432: match_ref_pats: don't emit suggestions inside of a macro r=Manishearth a=flip1995 Fixes #2636 Co-authored-by: flip1995 <hello@philkrones.com> | ||||
| 2018-11-17 | remove unused allow() attributes, NFC | Matthias Krüger | -18/+3 | |
| 2018-11-15 | Don't emit suggestion when inside of a macro | flip1995 | -4/+6 | |
| 2018-11-15 | rustup https://github.com/rust-lang/rust/pull/55852/ | Matthias Krüger | -1/+1 | |
| 2018-11-15 | Merge #3419 | bors[bot] | -0/+118 | |
| 3419: Linter to check that all common metadata is included r=flip1995 a=ysimonson Addresses https://github.com/rust-lang-nursery/rust-clippy/issues/1793 This is not ready to be merged yet. First the associated changes to `cargo_metadata` need to be merged: https://github.com/oli-obk/cargo_metadata/pull/55 Co-authored-by: Yusuf Simonson <simonson@gmail.com> | ||||
| 2018-11-14 | Fix "too" -> "foo" typo in format.rs | Anton | -1/+1 | |
| 2018-11-14 | Fix `use_self` violation | Michael Wright | -2/+2 | |
| 2018-11-14 | Fix wrong suggestion for `redundant_closure_call` | Michael Wright | -16/+45 | |
| Fixes #1684 | ||||
| 2018-11-13 | Check for common metadata | Yusuf Simonson | -0/+118 | |
| 2018-11-13 | Fix `use_self` false positive on `use` statements | Michael Wright | -0/+5 | |
| 2018-11-10 | Fix `use_self` false positive | Michael Wright | -15/+24 | |
| This fixes the first error reported in issue #3410. | ||||
| 2018-11-06 | Remove `+` from `has_unary_equivalent` | Michael Wright | -3/+2 | |
| Rust doesn't has a unary + operator! | ||||
| 2018-11-06 | Merge branch 'master' into fix-missing-comma-fp | Michael Wright | -70/+102 | |
| 2018-11-05 | RIIR update lints: Add check mode (update_lints.py rewrite complete) | Philipp Hansch | -6/+6 | |
| This finishes up the rewrite of `update_lints.py` in Rust. More specifically, this * adds the `--check` flag and handling to clippy_dev * tracks file changes over the different calls to `replace_region_in_file` * only writes changes to files if the `--check` flag is *not* used * runs `./util/dev update_lints --check` on CI instead of the old script * replaces usage of the `update_lints.py` script with an error `./util/dev update_lints` behaves 99% the same as the python script. The only difference that I'm aware of is an ordering change to `clippy_lints/src/lib.rs` because underscores seem to be sorted differently in Rust and in Python. :checkered_flag: | ||||
| 2018-11-05 | Merge #3353 | bors[bot] | -62/+94 | |
| 3353: float support added for mistyped_literal_suffixes lint r=mikerite a=Maxgy I implemented the mistyped_literal_suffixes lint for float literals. ``` #![allow(unused_variables)] fn main() { let x = 1E2_32; let x = 75.22_64; } ``` Given the above, the additional check suggests the variables to be written as `let x = 1E2_f32` and `let x = 75.22_f64`. Fixes #3167 Co-authored-by: Maxwell Anderson <maxwell.brayden.anderson@gmail.com> | ||||
| 2018-11-04 | rustup https://github.com/rust-lang/rust/pull/55665 (pass contexts by reference) | Matthias Krüger | -2/+2 | |
| 2018-11-04 | changed into_iter to iter and fixed a lint check | Maxwell Anderson | -3/+3 | |
| 2018-11-04 | Fix `collapsible_if` error | Michael Wright | -15/+13 | |
| 2018-11-04 | Fix `possible_missing_comma` false positives | Michael Wright | -13/+23 | |
| `possible_missing_comma` should only trigger when the binary operator has unary equivalent. Otherwise, it's not possible to insert a comma without breaking compilation. The operators identified were `+`, `&`, `*` and `-`. This fixes the specific examples given in issues #3244 and #3396 but doesn't address the conflict this lint has with the style of starting a line with a binary operator. | ||||
| 2018-11-03 | rustup https://github.com/rust-lang/rust/pull/55330/ | Matthias Krüger | -2/+2 | |
| 2018-11-03 | Merge #3400 | bors[bot] | -22/+29 | |
| 3400: Fix a false-positive of needless_borrow r=phansch a=sinkuu Co-authored-by: Shotaro Yamada <sinkuu@sinkuu.xyz> | ||||
| 2018-11-02 | Also lint cfg_attr(.., rustfmt::skip) | flip1995 | -2/+2 | |
| 2018-11-02 | Differ between inner and outer attributes | flip1995 | -5/+48 | |
| 2018-11-02 | Add cfg_attr(rustfmt) lint | flip1995 | -2/+34 | |
| 2018-11-02 | Addressed comments. | kennytm | -5/+5 | |
| 2018-11-02 | Fix dogfood error. | kennytm | -20/+20 | |
| 2018-11-02 | Added lints `into_iter_on_ref` and `into_iter_on_array`. Fix #1565. | kennytm | -1/+120 | |
| 2018-11-02 | Allow single_match_else | flip1995 | -1/+2 | |
| 2018-11-02 | Fix typos | flip1995 | -1/+1 | |
| 2018-11-02 | Fix dogfood error | flip1995 | -1/+1 | |
| 2018-11-02 | Fix typo and indentation | flip1995 | -2/+2 | |
| 2018-11-02 | Add new lint: unknwon_clippy_lintsg | flip1995 | -7/+87 | |
