]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/E0422.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / compile-fail / E0422.rs
index d1cb7fd9640da00ff7a1c73ee52a350720a85565..61e96b896a66a58e011222fdd21e06a2353337ad 100644 (file)
@@ -9,5 +9,7 @@
 // except according to those terms.
 
 fn main () {
-    let x = Foo { x: 1, y: 2 }; //~ ERROR E0422
+    let x = Foo { x: 1, y: 2 };
+    //~^ ERROR E0422
+    //~| NOTE not a structure
 }