]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/blind-item-block-item-shadow.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / blind-item-block-item-shadow.rs
index d4adaa042b2b55212ef369161d326a308e97c5f8..03af0d51ec296350e73ba9aa9cc07a09aa734da9 100644 (file)
@@ -14,7 +14,7 @@ fn main() {
     {
         struct Bar;
         use foo::Bar;
-        //~^ ERROR import `Bar` conflicts with type in this module
-        //~^^ ERROR import `Bar` conflicts with value in this module
+        //~^ ERROR a type named `Bar` has already been defined in this block
+        //~^^ ERROR a value named `Bar` has already been defined in this block
     }
 }