about summary refs log tree commit diff
path: root/src/libsync
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/libsync
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/libsync')
-rw-r--r--src/libsync/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsync/lib.rs b/src/libsync/lib.rs
index 80abcce0df3..2b8df3f17c5 100644
--- a/src/libsync/lib.rs
+++ b/src/libsync/lib.rs
@@ -17,6 +17,8 @@
 #[crate_type = "dylib"];
 #[license = "MIT/ASL2"];
 
+#[allow(deprecated_owned_vector)];
+
 pub use arc::{Arc, MutexArc, RWArc, RWWriteMode, RWReadMode, ArcCondvar, CowArc};
 pub use sync::{Mutex, RWLock, Condvar, Semaphore, RWLockWriteMode,
     RWLockReadMode, Barrier, one, mutex};