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"]