about summary refs log tree commit diff
path: root/clippy_lints/src/deprecated_lints.rs
AgeCommit message (Collapse)AuthorLines
2019-12-21Deprecate unused_label lintflip1995-0/+9
This lint was uplifted/turned into warn-by-default in rustc
2019-11-07Auto merge of #4757 - evanjs:issue/4748, r=phanschbors-62/+61
Fix Deprecated lints don't expand ### Move doc comments inside of declare_deprecated_lint macros so that they are picked up by lintlib.py ### fixes #4748 Unable to `cargo test` locally (I'm on NixOS, and keep getting errors that are similar to those #4714 might solve) but I have verified that all deprecated lints can now be expanded like other lints. ![2019-10-30_21:06:28](https://user-images.githubusercontent.com/1847524/67910501-5815de00-fb59-11e9-9fa2-91fe6a8b9bb9.png) changelog: Show deprecated lints in lint documentation again
2019-11-07Deprecate `into_iter_on_array` lintflip1995-0/+9
This lint was uplifted/reimplemented by rustc. Rustup to rust-lang/rust#66017
2019-11-02deprecated_lints: re-fix ASSIGN_OPS lint doc-commentEvan Stoll-5/+5
2019-11-02deprecated_lints: align doc comment indents with `pub LINT_NAME`Evan Stoll-56/+56
2019-11-02deprecated_lints: remove extraneous `declare_deprecated_lint`Evan Stoll-1/+0
2019-10-30Fix #4748 - Deprecated lints don't expandEvan Stoll-13/+13
- Move doc comments inside of declare_deprecated_lint macros so that they are picked up by lintlib.py
2019-08-14Deprecate unused_collect lintPhilipp Hansch-0/+8
I found this because we only had two test cases in total for this lint. It turns out the functionality is fully covered by rustc these days. [Playground Examples](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=eb8ee6db389c77180c9fb152d3c608f4) changelog: Deprecate `unused_collect` lint. This is fully covered by rustc's `#[must_use]` on `collect` cc #2846
2019-08-12Fix invalid_ref deprecationPhilipp Hansch-1/+1
2019-08-11deprecate invalid_ref lintRalf Jung-0/+9
2019-03-10Various cosmetic improvements.Alexander Regueiro-1/+1
2019-01-08Remove all copyright license headersPhilipp Hansch-10/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-03Remove unsafe_vector_initialization lintDavid Tolnay-0/+11
2018-10-17Rename if_let_redundant_pattern_matching to redundant_pattern_matchingCYBAI-1/+11
Also, making the old one deprecated
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-08-13deprecate assign_ops lintJonathan Goodman-0/+10
2018-04-11Deprecate misaligned_transmuteDevon Hollowood-0/+11
2017-10-19Deprecate should_assert_eq lintcgm616-0/+8
This should close #2090.
2017-06-18Replace `Range::step_by` checking with `Iterator::step_by`Oliver Schneider-0/+10
2017-01-14deprecate extend_from_slice lintAndre Bogus-0/+11
2016-05-27split clippy into lints, plugin and cargo-clippyOliver Schneider-0/+44