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) {}
17 // should not be linted
20 // should not be linted
21 ref_string_argument(&String::new());