about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-03-13 22:26:35 -0700
committerbors <bors@rust-lang.org>2014-03-13 22:26:35 -0700
commitb35e8fbfcb1ddf613184dbd512f1c896d99c77c9 (patch)
tree414de2b960bd9508b33deaebe14588d1ed76d37b /src/libtest
parent4443fb3cfa945cf7cb791cf8f2ec81b7faf25132 (diff)
parentadc357abe6de869159a6268dc14709a4dd19e008 (diff)
downloadrust-b35e8fbfcb1ddf613184dbd512f1c896d99c77c9.tar.gz
rust-b35e8fbfcb1ddf613184dbd512f1c896d99c77c9.zip
auto merge of #12861 : huonw/rust/lint-owned-vecs, r=thestinger
lint: add lint for use of a `~[T]`.

This is useless at the moment (since pretty much every crate uses
`~[]`), but should help avoid regressions once completely removed from a
crate.
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs
index 44488f86ae4..a3e68591d50 100644
--- a/src/libtest/lib.rs
+++ b/src/libtest/lib.rs
@@ -30,6 +30,7 @@
 #[crate_type = "dylib"];
 
 #[feature(asm)];
+#[allow(deprecated_owned_vector)];
 
 extern crate collections;
 extern crate extra;