From 62792f09f20221add2484608fc3071259067b79a Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Thu, 13 Mar 2014 18:53:14 +1100 Subject: 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. --- src/libnative/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libnative') 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 -- cgit 1.4.1-3-g733a5