@@ -273,6 +273,7 @@ pub mod use_self;
273273pub  mod  vec; 
274274pub  mod  wildcard_dependencies; 
275275pub  mod  write; 
276+ pub  mod  xor_used_as_pow; 
276277pub  mod  zero_div_zero; 
277278// end lints modules, do not remove this comment, it’s used in `update_lints` 
278279
@@ -582,6 +583,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
582583    reg. register_late_lint_pass ( box path_buf_push_overwrite:: PathBufPushOverwrite ) ; 
583584    reg. register_late_lint_pass ( box checked_conversions:: CheckedConversions ) ; 
584585    reg. register_late_lint_pass ( box integer_division:: IntegerDivision ) ; 
586+     reg. register_early_lint_pass ( box xor_used_as_pow:: XorUsedAsPow ) ; 
585587
586588    reg. register_lint_group ( "clippy::restriction" ,  Some ( "clippy_restriction" ) ,  vec ! [ 
587589        arithmetic:: FLOAT_ARITHMETIC , 
@@ -889,6 +891,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
889891        write:: WRITELN_EMPTY_STRING , 
890892        write:: WRITE_LITERAL , 
891893        write:: WRITE_WITH_NEWLINE , 
894+         xor_used_as_pow:: XOR_USED_AS_POW , 
892895        zero_div_zero:: ZERO_DIVIDED_BY_ZERO , 
893896    ] ) ; 
894897
@@ -1105,6 +1108,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
11051108        types:: UNIT_CMP , 
11061109        unicode:: ZERO_WIDTH_SPACE , 
11071110        unused_io_amount:: UNUSED_IO_AMOUNT , 
1111+         xor_used_as_pow:: XOR_USED_AS_POW , 
11081112    ] ) ; 
11091113
11101114    reg. register_lint_group ( "clippy::perf" ,  Some ( "clippy_perf" ) ,  vec ! [ 
0 commit comments