-// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
}
fn a() {
- test(22, std::default::Default::default()); //~ ERROR type annotations required
+ test(22, std::default::Default::default());
+ //~^ ERROR type annotations or generic parameter binding required
}
fn main() {}