From 27e82b60b08e96076d36825c082bf6a3c2842bce Mon Sep 17 00:00:00 2001 From: Scott Olson Date: Mon, 21 Mar 2016 02:41:07 -0600 Subject: [PATCH] Fix vec test compile error. --- test/vecs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vecs.rs b/test/vecs.rs index e3cb67b1ada..2fb113b3da2 100755 --- a/test/vecs.rs +++ b/test/vecs.rs @@ -3,7 +3,7 @@ #[miri_run] fn make_vec() -> Vec { - let v = Vec::with_capacity(4); + let mut v = Vec::with_capacity(4); v.push(1); v.push(2); v