about summary refs log tree commit diff
path: root/src/libglob
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-03-13 18:53:14 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-03-14 11:28:39 +1100
commit62792f09f20221add2484608fc3071259067b79a (patch)
treed347a7b5f2d4f012c549cf8ebc30835777902c87 /src/libglob
parent6ff3c9995e63b63c16d13739a0fc2d321f95410e (diff)
downloadrust-62792f09f20221add2484608fc3071259067b79a.tar.gz
rust-62792f09f20221add2484608fc3071259067b79a.zip
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.
Diffstat (limited to 'src/libglob')
-rw-r--r--src/libglob/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libglob/lib.rs b/src/libglob/lib.rs
index a33d041ab20..126eebaa1d3 100644
--- a/src/libglob/lib.rs
+++ b/src/libglob/lib.rs
@@ -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};