@@ -894,6 +894,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
894
894
unsafe_removed_from_name:: UNSAFE_REMOVED_FROM_NAME ,
895
895
unused_io_amount:: UNUSED_IO_AMOUNT ,
896
896
unused_label:: UNUSED_LABEL ,
897
+ unwrap:: PANICKING_UNWRAP ,
898
+ unwrap:: UNNECESSARY_UNWRAP ,
897
899
vec:: USELESS_VEC ,
898
900
write:: PRINTLN_EMPTY_STRING ,
899
901
write:: PRINT_LITERAL ,
@@ -1060,6 +1062,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
1060
1062
types:: UNNECESSARY_CAST ,
1061
1063
types:: VEC_BOX ,
1062
1064
unused_label:: UNUSED_LABEL ,
1065
+ unwrap:: UNNECESSARY_UNWRAP ,
1063
1066
zero_div_zero:: ZERO_DIVIDED_BY_ZERO ,
1064
1067
] ) ;
1065
1068
@@ -1121,6 +1124,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
1121
1124
types:: UNIT_CMP ,
1122
1125
unicode:: ZERO_WIDTH_SPACE ,
1123
1126
unused_io_amount:: UNUSED_IO_AMOUNT ,
1127
+ unwrap:: PANICKING_UNWRAP ,
1124
1128
] ) ;
1125
1129
1126
1130
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) {
1157
1161
needless_borrow:: NEEDLESS_BORROW ,
1158
1162
path_buf_push_overwrite:: PATH_BUF_PUSH_OVERWRITE ,
1159
1163
redundant_clone:: REDUNDANT_CLONE ,
1160
- unwrap:: PANICKING_UNWRAP ,
1161
- unwrap:: UNNECESSARY_UNWRAP ,
1162
1164
] ) ;
1163
1165
}
1164
1166
0 commit comments