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.
This commit is contained in:
Huon Wilson
2014-03-13 18:53:14 +11:00
parent 6ff3c9995e
commit 62792f09f2
33 changed files with 75 additions and 1 deletions

View File

@@ -65,6 +65,7 @@
#[deny(non_camel_case_types)];
#[deny(missing_doc)];
#[allow(unknown_features)];
#[allow(deprecated_owned_vector)];
// When testing libstd, bring in libuv as the I/O backend so tests can print
// things and all of the std::io tests have an I/O interface to run on top