summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorTrinick <slicksilver555@mac.com>2013-01-23 01:22:44 +0000
committerTrinick <slicksilver555@mac.com>2013-01-23 10:09:45 +0000
commit9dc8e96c5fac7812039bf6ddf640dcbb77f1a2f0 (patch)
tree916cbaa3fbe00793405ea6abbcaa28d44330e702 /src/compiletest
parent93e969e356dc8908a7eeef675269149f81a10eed (diff)
downloadrust-9dc8e96c5fac7812039bf6ddf640dcbb77f1a2f0.tar.gz
rust-9dc8e96c5fac7812039bf6ddf640dcbb77f1a2f0.zip
core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs
index 7b0ef583f40..f1af335eebf 100644
--- a/src/compiletest/runtest.rs
+++ b/src/compiletest/runtest.rs
@@ -273,7 +273,7 @@ fn check_expected_errors(expected_errors: ~[errors::expected_error],
                          procres: procres) {
 
     // true if we found the error in question
-    let found_flags = vec::to_mut(vec::from_elem(
+    let found_flags = vec::cast_to_mut(vec::from_elem(
         vec::len(expected_errors), false));
 
     if procres.status == 0 {