fn a() {
test(22, std::default::Default::default());
- //~^ ERROR type annotations or generic parameter binding required
+ //~^ ERROR unable to infer enough type information about `_` [E0282]
+ //~| NOTE cannot infer type for `_`
+ //~| NOTE type annotations or generic parameter binding
}
fn main() {}