about summary refs log tree commit diff
path: root/src/test/compile-fail/non-constant-enum-for-vec-repeat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/non-constant-enum-for-vec-repeat.rs')
-rw-r--r--src/test/compile-fail/non-constant-enum-for-vec-repeat.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/compile-fail/non-constant-enum-for-vec-repeat.rs b/src/test/compile-fail/non-constant-enum-for-vec-repeat.rs
index 883ba5b0eaa..a4eba4b4cbf 100644
--- a/src/test/compile-fail/non-constant-enum-for-vec-repeat.rs
+++ b/src/test/compile-fail/non-constant-enum-for-vec-repeat.rs
@@ -11,5 +11,6 @@
 enum State { ST_NULL, ST_WHITESPACE }
 
 fn main() {
-    ~[ST_NULL, ..(ST_WHITESPACE as uint)]; //~ ERROR expected constant integer for repeat count but found variable
+    ~[ST_NULL, ..(ST_WHITESPACE as uint)];
+    //~^ ERROR expected constant integer for repeat count but found variable
 }