1
Fork 0

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

@ -13,6 +13,7 @@
#[allow(dead_assignment)];
#[allow(unused_variable)];
#[allow(dead_code)];
#[allow(deprecated_owned_vector)];
#[deny(unused_mut)];
fn main() {