about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-03-13 18:53:14 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-03-14 11:28:39 +1100
commit62792f09f20221add2484608fc3071259067b79a (patch)
treed347a7b5f2d4f012c549cf8ebc30835777902c87 /src/libstd
parent6ff3c9995e63b63c16d13739a0fc2d321f95410e (diff)
downloadrust-62792f09f20221add2484608fc3071259067b79a.tar.gz
rust-62792f09f20221add2484608fc3071259067b79a.zip
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/libstd')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index a873eccfb03..24a77b71fba 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -65,6 +65,7 @@
 #[deny(non_camel_case_types)];
 #[deny(missing_doc)];
 #[allow(unknown_features)];
+#[allow(deprecated_owned_vector)];
 
 // When testing libstd, bring in libuv as the I/O backend so tests can print
 // things and all of the std::io tests have an I/O interface to run on top