summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAndrew Paseltiner <apaseltiner@gmail.com>2017-01-10 17:52:33 -0500
committerAndrew Paseltiner <apaseltiner@gmail.com>2017-01-10 18:10:19 -0500
commit9940db63ef60518f6c9824787a979beb09e716ba (patch)
tree0498a74f80528fd15c1ab14bff5f2a4f274838a0 /src/libsyntax
parent7bffede97cf58f7159e261eac592f9cf88ce209d (diff)
downloadrust-9940db63ef60518f6c9824787a979beb09e716ba.tar.gz
rust-9940db63ef60518f6c9824787a979beb09e716ba.zip
Deprecate `#[unsafe_destructor_blind_to_params]`
CC #34761
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 50924124758..3826db455be 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -691,10 +691,10 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
                                                        cfg_fn!(omit_gdb_pretty_printer_section))),
     ("unsafe_destructor_blind_to_params",
      Normal,
-     Gated(Stability::Unstable,
+     Gated(Stability::Deprecated("https://github.com/rust-lang/rust/issues/34761"),
            "dropck_parametricity",
-           "unsafe_destructor_blind_to_params has unstable semantics \
-            and may be removed in the future",
+           "unsafe_destructor_blind_to_params has been replaced by \
+            may_dangle and will be removed in the future",
            cfg_fn!(dropck_parametricity))),
     ("may_dangle",
      Normal,