about summary refs log tree commit diff
path: root/src/libhexfloat
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-12 22:01:25 +0000
committerbors <bors@rust-lang.org>2014-08-12 22:01:25 +0000
commit51c7e20d539eaed6e765612a02fbf2865e08a1bc (patch)
tree5b1dcf1dee9cdc745b0d01c0d26295f05a97d04d /src/libhexfloat
parent4bb4a43917bf702fb2c6a614786aa1abe6c1014c (diff)
parentd7484b86fc8936d670c168c9838e188e1bc8047a (diff)
downloadrust-51c7e20d539eaed6e765612a02fbf2865e08a1bc.tar.gz
rust-51c7e20d539eaed6e765612a02fbf2865e08a1bc.zip
auto merge of #16433 : aturon/rust/deprecated-in-crate, r=alexcrichton
Previously the stability lint considered cross-crate items only. That's appropriate for unstable and experimental levels, but not for deprecation.

In addition to changing the lint, this PR takes care of the fallout: a number of deprecated items that were being used throughout libstd.

Closes #16409

Due to deny(deprecated), this is a:

[breaking-change]
Diffstat (limited to 'src/libhexfloat')
-rw-r--r--src/libhexfloat/lib.rs1
1 files changed, 1 insertions, 0 deletions
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"]