about summary refs log tree commit diff
path: root/src/libfuzzer
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-05-12 16:50:57 -0400
committerAlex Crichton <alex@alexcrichton.com>2013-05-14 12:25:19 -0400
commitffcc680f9cc26b5b2cb2f453a89dbcf8144f8b9b (patch)
tree8f3f8634548c02309d281d6cdbfd7b34b7ea8c9d /src/libfuzzer
parent5614e83e817a1d15286a1d4eeb6b665ddf5fe3cb (diff)
downloadrust-ffcc680f9cc26b5b2cb2f453a89dbcf8144f8b9b.tar.gz
rust-ffcc680f9cc26b5b2cb2f453a89dbcf8144f8b9b.zip
Fix test fallout from removing vecs_implicitly_copyable
Diffstat (limited to 'src/libfuzzer')
-rw-r--r--src/libfuzzer/fuzzer.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfuzzer/fuzzer.rc b/src/libfuzzer/fuzzer.rc
index 7a29c78dbf4..59a715e7f90 100644
--- a/src/libfuzzer/fuzzer.rc
+++ b/src/libfuzzer/fuzzer.rc
@@ -134,7 +134,7 @@ pub fn stash_expr_if(c: @fn(@ast::expr, test_mode)->bool,
                      e: @ast::expr,
                      tm: test_mode) {
     if c(e, tm) {
-        *es += ~[e];
+        *es = *es + ~[e];
     } else {
         /* now my indices are wrong :( */
     }