]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/kindck-send.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / compile-fail / kindck-send.rs
index bfef15ea1731c35e866258a0c62bed21e3e222e4..829bdaa5332753b13f294b7fec07d75c38d8b375 100644 (file)
@@ -30,7 +30,7 @@ fn test<'a,T,U:Send>(_: &'a int) {
     // ~ pointers are ok
     assert_send::<~int>();
     assert_send::<~str>();
-    assert_send::<~[int]>();
+    assert_send::<Vec<int> >();
 
     // but not if they own a bad thing
     assert_send::<~&'a int>(); //~ ERROR does not fulfill `Send`