]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-6458-2.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-6458-2.rs
index 0143c75bfc6045687d631f3d1779249b25aa13ee..acf1d766b6a11a65107d768ba7ee1e094b32e1e7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -11,5 +11,5 @@
 fn main() {
     // Unconstrained type:
     format!("{:?}", None);
-    //~^ ERROR type annotations required
+    //~^ ERROR type annotations or generic parameter binding required
 }