about summary refs log tree commit diff
path: root/src/libsyntax/lib.rs
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/libsyntax/lib.rs
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/libsyntax/lib.rs')
-rw-r--r--src/libsyntax/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index 0d465e8475c..e84d43117e5 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -32,6 +32,7 @@ This API is completely unstable and subject to change.
 
 #[allow(deprecated)];
 #[deny(non_camel_case_types)];
+#[allow(deprecated_owned_vector)];
 
 extern crate serialize;
 extern crate term;