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:
parent
6ff3c9995e
commit
62792f09f2
33 changed files with 75 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
#[allow(dead_assignment)];
|
||||
#[allow(unused_variable)];
|
||||
#[allow(dead_code)];
|
||||
#[allow(deprecated_owned_vector)];
|
||||
#[deny(unused_mut)];
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue