Skip to content

Commit

Permalink
Add renamed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Sep 28, 2021
1 parent baec67e commit 17155c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2212,6 +2212,7 @@ pub fn register_renamed(ls: &mut rustc_lint::LintStore) {
ls.register_renamed("clippy::identity_conversion", "clippy::useless_conversion");
ls.register_renamed("clippy::zero_width_space", "clippy::invisible_characters");
ls.register_renamed("clippy::single_char_push_str", "clippy::single_char_add_str");
ls.register_renamed("clippy::if_let_some_result", "clippy::match_result_ok");

// uplifted lints
ls.register_renamed("clippy::invalid_ref", "invalid_value");
Expand Down

0 comments on commit 17155c8

Please sign in to comment.