auto merge of #12861 : huonw/rust/lint-owned-vecs, r=thestinger
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:
commit
b35e8fbfcb
34 changed files with 79 additions and 3 deletions
|
|
@ -42,6 +42,7 @@ via `close` and `delete` methods.
|
|||
#[feature(macro_rules)];
|
||||
#[deny(unused_result, unused_must_use)];
|
||||
#[allow(visible_private_types)];
|
||||
#[allow(deprecated_owned_vector)];
|
||||
|
||||
#[cfg(test)] extern crate green;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue