]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/blind-item-block-middle.rs
New upstream version 1.14.0+dfsg1
[rustc.git] / src / test / compile-fail / blind-item-block-middle.rs
index f57727b773d635a87608b4e4e08a4233d1408c6f..0db7eaf0ca7c3ea5e319cef0aa266481ab1256d5 100644 (file)
@@ -12,6 +12,6 @@ mod foo { pub struct bar; }
 
 fn main() {
     let bar = 5;
-    //~^ ERROR let bindings cannot shadow structs
+    //~^ ERROR let bindings cannot shadow unit structs
     use foo::bar;
 }