File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -592,7 +592,7 @@ Released 2021-02-11
592592
593593* Previously deprecated [ ` str_to_string ` ] and [ ` string_to_string ` ] have been un-deprecated
594594 as ` restriction ` lints [ #6333 ] ( https://github.com/rust-lang/rust-clippy/pull/6333 )
595- * Deprecate ` panic_params ` lint. This is now available in rustc as ` non_fmt_panic `
595+ * Deprecate ` panic_params ` lint. This is now available in rustc as ` non_fmt_panics `
596596 [ #6351 ] ( https://github.com/rust-lang/rust-clippy/pull/6351 )
597597* Move [ ` map_err_ignore ` ] to ` restriction `
598598 [ #6416 ] ( https://github.com/rust-lang/rust-clippy/pull/6416 )
Original file line number Diff line number Diff line change @@ -2171,7 +2171,7 @@ pub fn register_renamed(ls: &mut rustc_lint::LintStore) {
21712171 ls. register_renamed ( "clippy::unused_label" , "unused_labels" ) ;
21722172 ls. register_renamed ( "clippy::drop_bounds" , "drop_bounds" ) ;
21732173 ls. register_renamed ( "clippy::temporary_cstring_as_ptr" , "temporary_cstring_as_ptr" ) ;
2174- ls. register_renamed ( "clippy::panic_params" , "non_fmt_panic " ) ;
2174+ ls. register_renamed ( "clippy::panic_params" , "non_fmt_panics " ) ;
21752175 ls. register_renamed ( "clippy::unknown_clippy_lints" , "unknown_lints" ) ;
21762176}
21772177
Original file line number Diff line number Diff line change 1- #![ allow( non_fmt_panic ) ]
1+ #![ allow( non_fmt_panics ) ]
22
33macro_rules! assert_const {
44 ( $len: expr) => {
Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ error: lint `clippy::temporary_cstring_as_ptr` has been renamed to `temporary_cs
6060LL | #[warn(clippy::temporary_cstring_as_ptr)]
6161 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `temporary_cstring_as_ptr`
6262
63- error: lint `clippy::panic_params` has been renamed to `non_fmt_panic `
63+ error: lint `clippy::panic_params` has been renamed to `non_fmt_panics `
6464 --> $DIR/deprecated.rs:11:8
6565 |
6666LL | #[warn(clippy::panic_params)]
67- | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panic `
67+ | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panics `
6868
6969error: lint `clippy::unknown_clippy_lints` has been renamed to `unknown_lints`
7070 --> $DIR/deprecated.rs:12:8
You can’t perform that action at this time.
0 commit comments