Skip to content

Commit 28437a1

Browse files
committed
Convert compile-fail/alias-mismatch to ivecs
1 parent b762ba0 commit 28437a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// error-pattern:expected argument mode
22
use std;
3-
import std::vec::map;
3+
import std::ivec::map;
44

55
fn main() {
66
fn f(i: uint) -> bool { true }
77

8-
let a = map(f, [5u]);
8+
let a = map(f, ~[5u]);
99
}

0 commit comments

Comments
 (0)