blob: b9bf6d79b1c8922b04e873725a043e4fdee2accb [file] [log] [blame]
fn foo<T: Into<String>>(x: i32) {}
//~^ NOTE required by
//~| NOTE
fn main() {
foo(42);
//~^ ERROR type annotations needed
//~| NOTE cannot infer type
//~| NOTE cannot satisfy
}