blob: 9793ee801d185cfb5be7e09a50c6b3dd70d4a0a0 [file] [log] [blame]
fn foo<'a, T>(_t: T) where T: Into<&'a str> {}
fn main() {
foo(String::new());
//~^ ERROR the trait bound `&str: std::convert::From<std::string::String>` is not satisfied
}