3 #![warn(clippy::unnecessary_owned_empty_strings)]
5 fn ref_str_argument(_value: &str) {}
7 #[allow(clippy::ptr_arg)]
8 fn ref_string_argument(_value: &String) {}
15 #[allow(clippy::manual_string_new)]
18 // should not be linted
21 // should not be linted
22 ref_string_argument(&String::new());