about summary refs log tree commit diff
path: root/src/test/compile-fail/enum-and-module-in-same-scope.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-10-18 23:46:08 -0700
committerSteven Fackler <sfackler@gmail.com>2014-10-31 20:43:35 -0700
commitd7ff7da65a1e8e45cbbec7cd487773ee468e12ed (patch)
treef151ea585ee27632b583cc051f4c993767a4eae8 /src/test/compile-fail/enum-and-module-in-same-scope.rs
parent88b6e93d35c34e143ba060a617e71c8af10fa15e (diff)
downloadrust-d7ff7da65a1e8e45cbbec7cd487773ee468e12ed.tar.gz
rust-d7ff7da65a1e8e45cbbec7cd487773ee468e12ed.zip
First stage of enum namespacing changes
Diffstat (limited to 'src/test/compile-fail/enum-and-module-in-same-scope.rs')
-rw-r--r--src/test/compile-fail/enum-and-module-in-same-scope.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/enum-and-module-in-same-scope.rs b/src/test/compile-fail/enum-and-module-in-same-scope.rs
index 7464764666c..7526c6753e6 100644
--- a/src/test/compile-fail/enum-and-module-in-same-scope.rs
+++ b/src/test/compile-fail/enum-and-module-in-same-scope.rs
@@ -13,7 +13,7 @@ mod Foo {
 }
 
 enum Foo {  //~ ERROR duplicate definition of type or module `Foo`
-    X
+    X //~ ERROR duplicate definition of value `X`
 }
 
 fn main() {}