about summary refs log tree commit diff
path: root/src/libnative
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/libnative
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/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