]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/traits-multidispatch-convert-ambig-dest.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / compile-fail / traits-multidispatch-convert-ambig-dest.rs
index 8fe1f4d2371c42120120c57cf985d960692c75a6..c77494912bc751fc1715fb9de7544bffe274131b 100644 (file)
@@ -1,4 +1,4 @@
-// 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.
 //
@@ -33,7 +33,8 @@ where T : Convert<U>
 }
 
 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() {}