diff --git a/src/test/compile-fail/alias-mismatch.rs b/src/test/compile-fail/alias-mismatch.rs index b22d6c8b6e9..69f704507e6 100644 --- a/src/test/compile-fail/alias-mismatch.rs +++ b/src/test/compile-fail/alias-mismatch.rs @@ -1,9 +1,9 @@ // error-pattern:expected argument mode use std; -import std::vec::map; +import std::ivec::map; fn main() { fn f(i: uint) -> bool { true } - let a = map(f, [5u]); + let a = map(f, ~[5u]); } \ No newline at end of file