]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/vector-no-ann.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / vector-no-ann.rs
index 419b8c4e1b0151847753672e2b21eba3ee067309..25709f35246e3b37f70ae690f6869b133718bbc0 100644 (file)
@@ -11,5 +11,7 @@
 
 fn main() {
     let _foo = Vec::new();
-    //~^ 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
 }