1 #![feature(tool_lints)]
4 #[allow(unused_assignments)]
5 #[warn(clippy::misrefactored_assign_op, clippy::assign_op_pattern)]
26 // check that we don't lint on op assign impls, because that's just the way to impl them
28 use std::ops::{Mul, MulAssign};
30 #[derive(Copy, Clone, Debug, PartialEq)]
33 impl Mul<i64> for Wrap {
36 fn mul(self, rhs: i64) -> Self {
41 impl MulAssign<i64> for Wrap {
42 fn mul_assign(&mut self, rhs: i64) {