about summary refs log tree commit diff
path: root/src/libnative
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/libnative
parent6ff3c9995e63b63c16d13739a0fc2d321f95410e (diff)
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/libnative')
-rw-r--r--src/libnative/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs
index 4b6942a1083..b7a38dec1ac 100644
--- a/src/libnative/lib.rs
+++ b/src/libnative/lib.rs
@@ -50,6 +50,7 @@
       html_root_url = "http://static.rust-lang.org/doc/master")];
 #[deny(unused_result, unused_must_use)];
 #[allow(non_camel_case_types)];
+#[allow(deprecated_owned_vector)];
 
 // NB this crate explicitly does *not* allow glob imports, please seriously
 //    consider whether they're needed before adding that feature here (the