about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-08-11 17:33:43 -0700
committerAaron Turon <aturon@mozilla.com>2014-08-12 13:35:56 -0700
commitd7484b86fc8936d670c168c9838e188e1bc8047a (patch)
treee90f418469daf5bdc88069c76123d5cd53ec763f
parentffd87daeedbad27808e73f3d680f98525cec3453 (diff)
downloadrust-d7484b86fc8936d670c168c9838e188e1bc8047a.tar.gz
rust-d7484b86fc8936d670c168c9838e188e1bc8047a.zip
Allow deprecation in deprecated libraries
-rw-r--r--src/libfourcc/lib.rs1
-rw-r--r--src/libhexfloat/lib.rs1
-rw-r--r--src/libsemver/lib.rs1
-rw-r--r--src/liburl/lib.rs1
-rw-r--r--src/libuuid/lib.rs1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/libfourcc/lib.rs b/src/libfourcc/lib.rs
index bac5b6e1013..e4d61c47cc2 100644
--- a/src/libfourcc/lib.rs
+++ b/src/libfourcc/lib.rs
@@ -42,6 +42,7 @@ fn main() {
 #![crate_name = "fourcc"]
 #![deprecated = "This is now a cargo package located at: \
                  https://github.com/rust-lang/fourcc"]
+#![allow(deprecated)]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![license = "MIT/ASL2"]
diff --git a/src/libhexfloat/lib.rs b/src/libhexfloat/lib.rs
index 9adeeb2e4c9..936e7cb4403 100644
--- a/src/libhexfloat/lib.rs
+++ b/src/libhexfloat/lib.rs
@@ -39,6 +39,7 @@ fn main() {
 #![crate_name = "hexfloat"]
 #![deprecated = "This is now a cargo package located at: \
                  https://github.com/rust-lang/hexfloat"]
+#![allow(deprecated)]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![license = "MIT/ASL2"]
diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs
index 3cc5189c024..56c0f24509b 100644
--- a/src/libsemver/lib.rs
+++ b/src/libsemver/lib.rs
@@ -31,6 +31,7 @@
 #![crate_name = "semver"]
 #![deprecated = "This is now a cargo package located at: \
                  https://github.com/rust-lang/semver"]
+#![allow(deprecated)]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![license = "MIT/ASL2"]
diff --git a/src/liburl/lib.rs b/src/liburl/lib.rs
index 0221b95b404..8c35424d394 100644
--- a/src/liburl/lib.rs
+++ b/src/liburl/lib.rs
@@ -12,6 +12,7 @@
 
 #![crate_name = "url"]
 #![deprecated="This is being removed. Use rust-url instead. http://servo.github.io/rust-url/"]
+#![allow(deprecated)]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![license = "MIT/ASL2"]
diff --git a/src/libuuid/lib.rs b/src/libuuid/lib.rs
index d922dde6f85..78c8fbad959 100644
--- a/src/libuuid/lib.rs
+++ b/src/libuuid/lib.rs
@@ -59,6 +59,7 @@ Examples of string representations:
 #![crate_name = "uuid"]
 #![deprecated = "This is now a cargo package located at: \
                  https://github.com/rust-lang/uuid"]
+#![allow(deprecated)]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![license = "MIT/ASL2"]