@@ -894,6 +894,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
894894 unsafe_removed_from_name:: UNSAFE_REMOVED_FROM_NAME ,
895895 unused_io_amount:: UNUSED_IO_AMOUNT ,
896896 unused_label:: UNUSED_LABEL ,
897+ unwrap:: PANICKING_UNWRAP ,
898+ unwrap:: UNNECESSARY_UNWRAP ,
897899 vec:: USELESS_VEC ,
898900 write:: PRINTLN_EMPTY_STRING ,
899901 write:: PRINT_LITERAL ,
@@ -1060,6 +1062,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
10601062 types:: UNNECESSARY_CAST ,
10611063 types:: VEC_BOX ,
10621064 unused_label:: UNUSED_LABEL ,
1065+ unwrap:: UNNECESSARY_UNWRAP ,
10631066 zero_div_zero:: ZERO_DIVIDED_BY_ZERO ,
10641067 ] ) ;
10651068
@@ -1121,6 +1124,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
11211124 types:: UNIT_CMP ,
11221125 unicode:: ZERO_WIDTH_SPACE ,
11231126 unused_io_amount:: UNUSED_IO_AMOUNT ,
1127+ unwrap:: PANICKING_UNWRAP ,
11241128 ] ) ;
11251129
11261130 reg. register_lint_group ( "clippy::perf" , Some ( "clippy_perf" ) , vec ! [
@@ -1157,8 +1161,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
11571161 needless_borrow:: NEEDLESS_BORROW ,
11581162 path_buf_push_overwrite:: PATH_BUF_PUSH_OVERWRITE ,
11591163 redundant_clone:: REDUNDANT_CLONE ,
1160- unwrap:: PANICKING_UNWRAP ,
1161- unwrap:: UNNECESSARY_UNWRAP ,
11621164 ] ) ;
11631165}
11641166
0 commit comments