]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/enum-and-module-in-same-scope.rs
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / test / compile-fail / enum-and-module-in-same-scope.rs
index f3d8fcf31d76c057c3813188e998167d0f33bb7b..67969616ca3c93215fda25ae8670a4aad10d33a7 100644 (file)
@@ -13,7 +13,7 @@ mod Foo {
 }
 
 enum Foo {  //~ ERROR duplicate definition of type or module `Foo`
-    X //~ ERROR duplicate definition of value `X`
+    X
 }
 
 fn main() {}