From 0e4d2fd447602f8cc9cf2eb9851cdfddfbcd6f3d Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Wed, 31 Mar 2021 15:43:33 -0300 Subject: Revert "Rollup merge of #82296 - spastorino:pubrules, r=nikomatsakis" This reverts commit e2561c58a41023a14e0e583113dcf55e1ecb236a, reversing changes made to 2982ba50fc4bb629b8fe4108a81cb2f9b053510b. --- compiler/rustc_feature/src/active.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'compiler/rustc_feature/src') diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index a410826d3fd..f9bc2e86618 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -624,9 +624,6 @@ declare_features! ( /// Allows macro attributes to observe output of `#[derive]`. (active, macro_attributes_in_derive_output, "1.51.0", Some(81119), None), - /// Allows `pub` on `macro_rules` items. - (active, pub_macro_rules, "1.52.0", Some(78855), None), - /// Allows the use of type alias impl trait in function return positions (active, min_type_alias_impl_trait, "1.52.0", Some(63063), None), -- cgit 1.4.1-3-g733a5 From 83767d97f0ac4e644340792dd7209bbcd9306647 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Fri, 23 Apr 2021 10:53:34 -0300 Subject: Add pub_macro_rules to the list of removed features --- compiler/rustc_feature/src/removed.rs | 2 ++ compiler/rustc_span/src/symbol.rs | 1 + 2 files changed, 3 insertions(+) (limited to 'compiler/rustc_feature/src') diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs index c2ad339ed41..fa8ef182aed 100644 --- a/compiler/rustc_feature/src/removed.rs +++ b/compiler/rustc_feature/src/removed.rs @@ -134,6 +134,8 @@ declare_features! ( which is available from cargo build scripts with `cargo:rustc-link-arg` now")), /// Allows using `#[main]` to replace the entrypoint `#[lang = "start"]` calls. (removed, main, "1.53.0", Some(29634), None, None), + (removed, pub_macro_rules, "1.53.0", Some(78855), None, + Some("removed due to being incomplete, in particular it does not work across crates")), // ------------------------------------------------------------------------- // feature-group-end: removed features diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 681206dfb6a..52270f0e627 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -903,6 +903,7 @@ symbols! { ptr_null, ptr_null_mut, ptr_offset_from, + pub_macro_rules, pub_restricted, pure, pushpop_unsafe, -- cgit 1.4.1-3-g733a5