@@ -759,6 +759,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
759
759
types:: BOX_VEC ,
760
760
types:: CAST_LOSSLESS ,
761
761
types:: CAST_PTR_ALIGNMENT ,
762
+ types:: CAST_REF_TO_MUT ,
762
763
types:: CHAR_LIT_AS_U8 ,
763
764
types:: FN_TO_NUMERIC_CAST ,
764
765
types:: FN_TO_NUMERIC_CAST_WITH_TRUNCATION ,
@@ -990,6 +991,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
990
991
transmute:: WRONG_TRANSMUTE ,
991
992
types:: ABSURD_EXTREME_COMPARISONS ,
992
993
types:: CAST_PTR_ALIGNMENT ,
994
+ types:: CAST_REF_TO_MUT ,
993
995
types:: UNIT_CMP ,
994
996
unicode:: ZERO_WIDTH_SPACE ,
995
997
unused_io_amount:: UNUSED_IO_AMOUNT ,
@@ -1027,7 +1029,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
1027
1029
mutex_atomic:: MUTEX_INTEGER ,
1028
1030
needless_borrow:: NEEDLESS_BORROW ,
1029
1031
redundant_clone:: REDUNDANT_CLONE ,
1030
- types:: CAST_REF_TO_MUT ,
1031
1032
unwrap:: PANICKING_UNWRAP ,
1032
1033
unwrap:: UNNECESSARY_UNWRAP ,
1033
1034
] ) ;
0 commit comments