]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/use-mod-3.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / use-mod-3.rs
index bd954272fcca24533680bd025a0b984e8f28e553..cce500800caca0f842c8354f923482fa9a87d076 100644 (file)
@@ -12,8 +12,7 @@ use foo::bar::{
     self //~ ERROR module `bar` is private
 };
 use foo::bar::{
-    Bar //~ ERROR type `Bar` is inaccessible
-    //~^ NOTE module `bar` is private
+    Bar //~ ERROR module `bar` is private
 };
 
 mod foo {