mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 06:03:16 +00:00
Convert compile-fail/alias-mismatch to ivecs
This commit is contained in:
parent
b762ba0890
commit
28437a1890
@ -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]);
|
||||
}
|
Loading…
Reference in New Issue
Block a user