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: Rc<&T>) {}
24 pub fn test2(foo: Rc<&MyStruct>) {}
26 pub fn test3(foo: Rc<&MyEnum>) {}
28 pub fn test4_neg(foo: Rc<SubT<&usize>>) {}
32 pub fn test5(a: Rc<Rc<bool>>) {}
36 pub fn test6(a: Rc<Box<bool>>) {}
40 pub fn test7<T>(foo: Box<&T>) {}
42 pub fn test8(foo: Box<&MyStruct>) {}
44 pub fn test9(foo: Box<&MyEnum>) {}
46 pub fn test10_neg(foo: Box<SubT<&usize>>) {}