diff options
| author | Lzu Tao <taolzu@gmail.com> | 2019-07-11 18:44:56 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2019-07-11 18:44:56 +0000 |
| commit | 8347917dd955e40c813867e0fddb52c3adb4711c (patch) | |
| tree | 811108295d938030b6085dc63085739a7f30a922 /src/libsyntax | |
| parent | ab3adf380d09005e2deea002ac172135a5c158f0 (diff) | |
| download | rust-8347917dd955e40c813867e0fddb52c3adb4711c.tar.gz rust-8347917dd955e40c813867e0fddb52c3adb4711c.zip | |
Remove feature gate `dropck_parametricity` completely
Therefore we also remove `#[unsafe_destructor_blind_to_params]` attribute completly.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 84a012f03c9..e3628d908fb 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -199,9 +199,6 @@ declare_features! ( // no-tracking-issue-end - // Allows using `#[unsafe_destructor_blind_to_params]` (RFC 1238). - (active, dropck_parametricity, "1.3.0", Some(28498), None), - // no-tracking-issue-start // Allows using `#[omit_gdb_pretty_printer_section]`. @@ -641,6 +638,8 @@ declare_features! ( (removed, extern_in_paths, "1.33.0", Some(55600), None, Some("subsumed by `::foo::bar` paths")), (removed, quote, "1.33.0", Some(29601), None, None), + // Allows using `#[unsafe_destructor_blind_to_params]` (RFC 1238). + (removed, dropck_parametricity, "1.38.0", Some(28498), None, None), // ------------------------------------------------------------------------- // feature-group-end: removed features @@ -1447,15 +1446,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ cfg_fn!(omit_gdb_pretty_printer_section) ) ), - (sym::unsafe_destructor_blind_to_params, - Normal, - template!(Word), - Gated(Stability::Deprecated("https://github.com/rust-lang/rust/issues/34761", - Some("replace this attribute with `#[may_dangle]`")), - sym::dropck_parametricity, - "unsafe_destructor_blind_to_params has been replaced by \ - may_dangle and will be removed in the future", - cfg_fn!(dropck_parametricity))), (sym::may_dangle, Normal, template!(Word), |
