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

@@ -27,6 +27,7 @@
#[crate_type = "rlib"];
#[crate_type = "dylib"];
#[license = "MIT/ASL2"];
#[allow(deprecated_owned_vector)];
use std::cell::Cell;
use std::{cmp, os, path};