fn foo(_f: impl AsRef) {} fn main() { foo::("".to_string()); //~ ERROR E0107 }