3 #![allow(clippy::boxed_local, clippy::needless_pass_by_value)]
4 #![allow(clippy::blacklisted_name, unused_variables, dead_code)]
22 pub fn test1<T>(foo: &T) {}
24 pub fn test2(foo: &MyStruct) {}
26 pub fn test3(foo: &MyEnum) {}
28 pub fn test4_neg(foo: Rc<SubT<&usize>>) {}
32 pub fn test5(a: Rc<bool>) {}
36 pub fn test6(a: Box<bool>) {}
40 pub fn test7<T>(foo: &T) {}
42 pub fn test8(foo: &MyStruct) {}
44 pub fn test9(foo: &MyEnum) {}
46 pub fn test10_neg(foo: Box<SubT<&usize>>) {}