1 #![warn(clippy::repeat_once)] 2 #![allow(clippy::let_unit_value)] 3 4 trait Repeat { repeat(&self)5 fn repeat(&self) {} 6 } 7 8 impl Repeat for usize { repeat(&self)9 fn repeat(&self) {} 10 } 11 main()12 fn main() { 13 let _ = 42.repeat(); 14 } 15