]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/repeat_count.rs
test: Make manual changes to deal with the fallout from removal of
[rust.git] / src / test / compile-fail / repeat_count.rs
index 08c8eba696dcd5900f1ed1dc89e5ffe851611f32..692c51b5b5ff720cf16dbc25183b949faa9b89f9 100644 (file)
@@ -12,5 +12,5 @@
 
 fn main() {
     let n = 1;
-    let a = vec!(0, ..n); //~ ERROR expected constant integer for repeat count but found variable
+    let a = [0, ..n]; //~ ERROR expected constant integer for repeat count but found variable
 }