]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-3052.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / run-pass / issue-3052.rs
index 8179d85e601f3f9155fbdaf0da97093864462454..bc33bb72aa81a1e703e7c1016d55b0e45505834a 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-type Connection = 'static |~[u8]|;
+type Connection = 'static |Vec<u8> |;
 
 fn f() -> Option<Connection> {
     let mock_connection: Connection = |_| {};