summaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2019-07-11 17:44:48 -0600
committerAlan Somers <asomers@gmail.com>2019-07-13 15:06:01 -0600
commit2373ac817f331991d12dd0d1bccb20bb69300f6e (patch)
tree1ad7f100d4a9ed097c46db107215b1dbbc81b8ff /test/test.rs
parent43df789bda3aba17ad1a0405e506a376c94bd73c (diff)
downloadnix-2373ac817f331991d12dd0d1bccb20bb69300f6e.zip
Temporarily allow deprecated items
This fixes the tests on Rust 1.38.0. We'll fix them for real after release 0.15.0. Issue #1096
Diffstat (limited to 'test/test.rs')
-rw-r--r--test/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs
index 4c7e5b1e..6a71d261 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -1,3 +1,5 @@
+// XXX Allow deprecated items until release 0.16.0. See issue #1096.
+#![allow(deprecated)]
extern crate bytes;
#[cfg(any(target_os = "android", target_os = "linux"))]
extern crate caps;