]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/check-static-slice.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / check-static-slice.rs
index 60daedec4c79fe5199ad7b2237a2e958936d82b3..6e2cfedf9ec3ebed8eabf9d6a166043bf8ec3a17 100644 (file)
 // Check that the various ways of getting to a reference to a vec (both sized
 // and unsized) work properly.
 
-const aa: [int, ..3] = [1, 2, 3];
-const ab: &'static [int, ..3] = &aa;
+const aa: [int3] = [1, 2, 3];
+const ab: &'static [int3] = &aa;
 const ac: &'static [int] = ab;
 const ad: &'static [int] = &aa;
-const ae: &'static [int, ..3] = &[1, 2, 3];
+const ae: &'static [int3] = &[1, 2, 3];
 const af: &'static [int] = &[1, 2, 3];
 
 static ca: int = aa[0];