]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/non-constant-enum-for-vec-repeat.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / non-constant-enum-for-vec-repeat.rs
index a7cabae16be1b8f39be0f84ae8f66a090bbfbdad..9564a080b8ee7d6ca7f8c8dbb04d125921408ba9 100644 (file)
@@ -15,5 +15,5 @@ enum State { ST_NULL, ST_WHITESPACE }
 
 fn main() {
     [State::ST_NULL; (State::ST_WHITESPACE as usize)];
-    //~^ ERROR expected constant integer for repeat count, but non-constant path
+    //~^ ERROR expected constant integer for repeat count, but unimplemented constant expression
 }