Skip to main content

rustc_feature/
removed.rs

1//! List of the removed feature gates.
2
3use std::num::{NonZero, NonZeroU32};
4
5use rustc_span::sym;
6
7use super::{Feature, to_nonzero};
8
9pub struct RemovedFeature {
10    pub feature: Feature,
11    pub reason: Option<&'static str>,
12    pub pull: Option<NonZero<u32>>,
13}
14
15macro_rules! opt_nonzero_u32 {
16    () => {
17        None
18    };
19    ($val:expr) => {
20        Some(NonZeroU32::new($val).unwrap())
21    };
22}
23
24macro_rules! declare_features {
25    ($(
26        $(#[doc = $doc:tt])* (removed, $feature:ident, $ver:expr, $issue:expr, $reason:expr $(, $pull:expr)?),
27    )+) => {
28        /// Formerly unstable features that have now been removed.
29        pub static REMOVED_LANG_FEATURES: &[RemovedFeature] = &[
30            $(RemovedFeature {
31                feature: Feature {
32                    name: sym::$feature,
33                    since: $ver,
34                    issue: to_nonzero($issue),
35                },
36                reason: $reason,
37                pull:  opt_nonzero_u32!($($pull)?),
38            }),+
39        ];
40    };
41}
42
43#[rustfmt::skip]
44/// Formerly unstable features that have now been removed.
pub static REMOVED_LANG_FEATURES: &[RemovedFeature] =
    &[RemovedFeature {
                    feature: Feature {
                        name: sym::abi_amdgpu_kernel,
                        since: "1.77.0",
                        issue: to_nonzero(Some(51575)),
                    },
                    reason: None,
                    pull: Some(NonZeroU32::new(120495).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::abi_c_cmse_nonsecure_call,
                        since: "1.90.0",
                        issue: to_nonzero(Some(81391)),
                    },
                    reason: Some("renamed to abi_cmse_nonsecure_call"),
                    pull: Some(NonZeroU32::new(142146).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::advanced_slice_patterns,
                        since: "1.42.0",
                        issue: to_nonzero(Some(62254)),
                    },
                    reason: Some("merged into `#![feature(slice_patterns)]`"),
                    pull: Some(NonZeroU32::new(67712).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::allocator,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::allow_fail,
                        since: "1.60.0",
                        issue: to_nonzero(Some(46488)),
                    },
                    reason: Some("removed due to no clear use cases"),
                    pull: Some(NonZeroU32::new(93416).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::associated_const_equality,
                        since: "1.94.0",
                        issue: to_nonzero(Some(92827)),
                    },
                    reason: Some("merged into `min_generic_const_args`"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::await_macro,
                        since: "1.38.0",
                        issue: to_nonzero(Some(50547)),
                    },
                    reason: Some("subsumed by `.await` syntax"),
                    pull: Some(NonZeroU32::new(62293).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::box_syntax,
                        since: "1.70.0",
                        issue: to_nonzero(Some(49733)),
                    },
                    reason: Some("replaced with `#[rustc_box]`"),
                    pull: Some(NonZeroU32::new(108471).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::capture_disjoint_fields,
                        since: "1.69.0",
                        issue: to_nonzero(Some(53488)),
                    },
                    reason: Some("stabilized in Rust 2021"),
                    pull: Some(NonZeroU32::new(108550).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::const_compare_raw_pointers,
                        since: "1.46.0",
                        issue: to_nonzero(Some(53020)),
                    },
                    reason: Some("cannot be allowed in const eval in any meaningful way"),
                    pull: Some(NonZeroU32::new(73398).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::const_eval_limit,
                        since: "1.72.0",
                        issue: to_nonzero(Some(67217)),
                    },
                    reason: Some("removed the limit entirely"),
                    pull: Some(NonZeroU32::new(103877).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::const_evaluatable_checked,
                        since: "1.56.0",
                        issue: to_nonzero(Some(76560)),
                    },
                    reason: Some("renamed to `generic_const_exprs`"),
                    pull: Some(NonZeroU32::new(88369).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::const_fn,
                        since: "1.54.0",
                        issue: to_nonzero(Some(57563)),
                    },
                    reason: Some("split into finer-grained feature gates"),
                    pull: Some(NonZeroU32::new(85109).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::const_generics,
                        since: "1.56.0",
                        issue: to_nonzero(Some(44580)),
                    },
                    reason: Some("removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`"),
                    pull: Some(NonZeroU32::new(88369).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::const_in_array_repeat_expressions,
                        since: "1.51.0",
                        issue: to_nonzero(Some(49147)),
                    },
                    reason: Some("removed due to causing promotable bugs"),
                    pull: Some(NonZeroU32::new(80404).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::const_raw_ptr_to_usize_cast,
                        since: "1.55.0",
                        issue: to_nonzero(Some(51910)),
                    },
                    reason: Some("at compile-time, pointers do not have an integer value, so these casts cannot be properly supported"),
                    pull: Some(NonZeroU32::new(87020).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::const_trait_bound_opt_out,
                        since: "1.56.0",
                        issue: to_nonzero(Some(67794)),
                    },
                    reason: Some("Removed in favor of `[const]` bound in #![feature(const_trait_impl)]"),
                    pull: Some(NonZeroU32::new(88328).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::crate_visibility_modifier,
                        since: "1.63.0",
                        issue: to_nonzero(Some(53120)),
                    },
                    reason: Some("removed in favor of `pub(crate)`"),
                    pull: Some(NonZeroU32::new(97254).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::custom_attribute,
                        since: "1.0.0",
                        issue: to_nonzero(Some(29642)),
                    },
                    reason: Some("removed in favor of `#![register_tool]` and `#![register_attr]`"),
                    pull: Some(NonZeroU32::new(66070).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::custom_derive,
                        since: "1.32.0",
                        issue: to_nonzero(Some(29644)),
                    },
                    reason: Some("subsumed by `#[proc_macro_derive]`"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::default_type_parameter_fallback,
                        since: "1.82.0",
                        issue: to_nonzero(Some(27336)),
                    },
                    reason: Some("never properly implemented; requires significant design work"),
                    pull: Some(NonZeroU32::new(127655).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::deprecated_safe,
                        since: "CURRENT_RUSTC_VERSION",
                        issue: to_nonzero(Some(94978)),
                    },
                    reason: Some("never properly implemented, in the way of attribute refactor"),
                    pull: Some(NonZeroU32::new(152554).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::derive_smart_pointer,
                        since: "1.84.0",
                        issue: to_nonzero(Some(123430)),
                    },
                    reason: Some("replaced by `CoercePointee`"),
                    pull: Some(NonZeroU32::new(131284).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::doc_auto_cfg,
                        since: "1.92.0",
                        issue: to_nonzero(Some(43781)),
                    },
                    reason: Some("merged into `doc_cfg`"),
                    pull: Some(NonZeroU32::new(138907).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::doc_cfg_hide,
                        since: "1.92.0",
                        issue: to_nonzero(Some(43781)),
                    },
                    reason: Some("merged into `doc_cfg`"),
                    pull: Some(NonZeroU32::new(138907).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::doc_keyword,
                        since: "1.58.0",
                        issue: to_nonzero(Some(51315)),
                    },
                    reason: Some("merged into `#![feature(rustdoc_internals)]`"),
                    pull: Some(NonZeroU32::new(90420).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::doc_primitive,
                        since: "1.58.0",
                        issue: to_nonzero(Some(88070)),
                    },
                    reason: Some("merged into `#![feature(rustdoc_internals)]`"),
                    pull: Some(NonZeroU32::new(90420).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::doc_spotlight,
                        since: "1.53.0",
                        issue: to_nonzero(Some(45040)),
                    },
                    reason: Some("renamed to `doc_notable_trait`"),
                    pull: Some(NonZeroU32::new(80965).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::dropck_parametricity,
                        since: "1.38.0",
                        issue: to_nonzero(Some(28498)),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::dyn_compatible_for_dispatch,
                        since: "1.87.0",
                        issue: to_nonzero(Some(43561)),
                    },
                    reason: Some("removed, not used heavily and represented additional complexity in dyn compatibility"),
                    pull: Some(NonZeroU32::new(136522).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::dyn_star,
                        since: "1.65.0",
                        issue: to_nonzero(Some(102425)),
                    },
                    reason: Some("removed as it was no longer necessary for AFIDT (async fn in dyn trait) support"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::effects,
                        since: "1.84.0",
                        issue: to_nonzero(Some(102090)),
                    },
                    reason: Some("removed, redundant with `#![feature(const_trait_impl)]`"),
                    pull: Some(NonZeroU32::new(132479).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::existential_type,
                        since: "1.38.0",
                        issue: to_nonzero(Some(63063)),
                    },
                    reason: Some("removed in favor of `#![feature(type_alias_impl_trait)]`"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::extern_in_paths,
                        since: "1.33.0",
                        issue: to_nonzero(Some(55600)),
                    },
                    reason: Some("subsumed by `::foo::bar` paths"),
                    pull: Some(NonZeroU32::new(57572).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::external_doc,
                        since: "1.54.0",
                        issue: to_nonzero(Some(44732)),
                    },
                    reason: Some("use #[doc = include_str!(\"filename\")] instead, which handles macro invocations"),
                    pull: Some(NonZeroU32::new(85457).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::ffi_returns_twice,
                        since: "1.78.0",
                        issue: to_nonzero(Some(58314)),
                    },
                    reason: Some("being investigated by the ffi-unwind project group"),
                    pull: Some(NonZeroU32::new(120502).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::generator_clone,
                        since: "1.75.0",
                        issue: to_nonzero(Some(95360)),
                    },
                    reason: Some("renamed to `coroutine_clone`"),
                    pull: Some(NonZeroU32::new(116958).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::generators,
                        since: "1.75.0",
                        issue: to_nonzero(Some(43122)),
                    },
                    reason: Some("renamed to `coroutines`"),
                    pull: Some(NonZeroU32::new(116958).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::generic_associated_types_extended,
                        since: "1.85.0",
                        issue: to_nonzero(Some(95451)),
                    },
                    reason: Some("feature needs overhaul and reimplementation pending \
            better implied higher-ranked implied bounds support"),
                    pull: Some(NonZeroU32::new(133768).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::import_shadowing,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::in_band_lifetimes,
                        since: "1.61.0",
                        issue: to_nonzero(Some(44524)),
                    },
                    reason: Some("removed due to unsolved ergonomic questions and added lifetime resolution complexity"),
                    pull: Some(NonZeroU32::new(93845).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::infer_static_outlives_requirements,
                        since: "1.63.0",
                        issue: to_nonzero(Some(54185)),
                    },
                    reason: Some("removed as it caused some confusion and discussion was inactive for years"),
                    pull: Some(NonZeroU32::new(97875).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::inline_const_pat,
                        since: "1.88.0",
                        issue: to_nonzero(Some(76001)),
                    },
                    reason: Some("removed due to implementation concerns as it requires significant refactorings"),
                    pull: Some(NonZeroU32::new(138492).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::lazy_normalization_consts,
                        since: "1.56.0",
                        issue: to_nonzero(Some(72219)),
                    },
                    reason: Some("superseded by `generic_const_exprs`"),
                    pull: Some(NonZeroU32::new(88369).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::lifetime_capture_rules_2024,
                        since: "1.87.0",
                        issue: to_nonzero(None),
                    },
                    reason: Some("unnecessary -- use edition 2024 instead"),
                    pull: Some(NonZeroU32::new(136787).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::link_args,
                        since: "1.53.0",
                        issue: to_nonzero(Some(29596)),
                    },
                    reason: Some("removed in favor of using `-C link-arg=ARG` on command line, \
           which is available from cargo build scripts with `cargo:rustc-link-arg` now"),
                    pull: Some(NonZeroU32::new(83820).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::macro_reexport,
                        since: "1.0.0",
                        issue: to_nonzero(Some(29638)),
                    },
                    reason: Some("subsumed by `pub use`"),
                    pull: Some(NonZeroU32::new(49982).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::main,
                        since: "1.53.0",
                        issue: to_nonzero(Some(29634)),
                    },
                    reason: None,
                    pull: Some(NonZeroU32::new(84217).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::managed_boxes,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::min_type_alias_impl_trait,
                        since: "1.56.0",
                        issue: to_nonzero(Some(63063)),
                    },
                    reason: Some("removed in favor of full type_alias_impl_trait"),
                    pull: Some(NonZeroU32::new(87564).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::mut_preserve_binding_mode_2024,
                        since: "1.80.0",
                        issue: to_nonzero(Some(123076)),
                    },
                    reason: Some("superseded by `ref_pat_eat_one_layer_2024`"),
                    pull: Some(NonZeroU32::new(125168).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::needs_allocator,
                        since: "1.4.0",
                        issue: to_nonzero(Some(27389)),
                    },
                    reason: Some("subsumed by `#![feature(allocator_internals)]`"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::negate_unsigned,
                        since: "1.0.0",
                        issue: to_nonzero(Some(29645)),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::never_type_fallback,
                        since: "1.93.0",
                        issue: to_nonzero(Some(65992)),
                    },
                    reason: Some("removed in favor of unconditional fallback"),
                    pull: Some(NonZeroU32::new(148871).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::no_coverage,
                        since: "1.74.0",
                        issue: to_nonzero(Some(84605)),
                    },
                    reason: Some("renamed to `coverage_attribute`"),
                    pull: Some(NonZeroU32::new(114656).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::no_debug,
                        since: "1.43.0",
                        issue: to_nonzero(Some(29721)),
                    },
                    reason: Some("removed due to lack of demand"),
                    pull: Some(NonZeroU32::new(69667).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::no_sanitize,
                        since: "1.91.0",
                        issue: to_nonzero(Some(39699)),
                    },
                    reason: Some(r#"renamed to sanitize(xyz = "on|off")"#),
                    pull: Some(NonZeroU32::new(142681).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::no_stack_check,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: Some(NonZeroU32::new(40110).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::object_safe_for_dispatch,
                        since: "1.83.0",
                        issue: to_nonzero(Some(43561)),
                    },
                    reason: Some("renamed to `dyn_compatible_for_dispatch`"),
                    pull: Some(NonZeroU32::new(131511).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::omit_gdb_pretty_printer_section,
                        since: "1.91.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: Some(NonZeroU32::new(144738).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::on_unimplemented,
                        since: "1.40.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: Some(NonZeroU32::new(65794).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::opt_out_copy,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: Some(NonZeroU32::new(20740).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::optin_builtin_traits,
                        since: "1.50.0",
                        issue: to_nonzero(Some(13231)),
                    },
                    reason: Some("renamed to `auto_traits`"),
                    pull: Some(NonZeroU32::new(79336).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::overlapping_marker_traits,
                        since: "1.42.0",
                        issue: to_nonzero(Some(29864)),
                    },
                    reason: Some("removed in favor of `#![feature(marker_trait_attr)]`"),
                    pull: Some(NonZeroU32::new(68544).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::panic_implementation,
                        since: "1.28.0",
                        issue: to_nonzero(Some(44489)),
                    },
                    reason: Some("subsumed by `#[panic_handler]`"),
                    pull: Some(NonZeroU32::new(53619).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::platform_intrinsics,
                        since: "1.78.0",
                        issue: to_nonzero(Some(27731)),
                    },
                    reason: Some("SIMD intrinsics use the regular intrinsics ABI now"),
                    pull: Some(NonZeroU32::new(121516).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::plugin,
                        since: "1.75.0",
                        issue: to_nonzero(Some(29597)),
                    },
                    reason: Some("plugins are no longer supported"),
                    pull: Some(NonZeroU32::new(116412).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::plugin_registrar,
                        since: "1.75.0",
                        issue: to_nonzero(Some(29597)),
                    },
                    reason: Some("plugins are no longer supported"),
                    pull: Some(NonZeroU32::new(116412).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::precise_pointer_size_matching,
                        since: "1.76.0",
                        issue: to_nonzero(Some(56354)),
                    },
                    reason: Some("removed in favor of half-open ranges"),
                    pull: Some(NonZeroU32::new(118598).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::pref_align_of,
                        since: "1.89.0",
                        issue: to_nonzero(Some(91971)),
                    },
                    reason: Some("removed due to marginal use and inducing compiler complications"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::proc_macro_expr,
                        since: "1.27.0",
                        issue: to_nonzero(Some(54727)),
                    },
                    reason: Some("subsumed by `#![feature(proc_macro_hygiene)]`"),
                    pull: Some(NonZeroU32::new(52121).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::proc_macro_gen,
                        since: "1.27.0",
                        issue: to_nonzero(Some(54727)),
                    },
                    reason: Some("subsumed by `#![feature(proc_macro_hygiene)]`"),
                    pull: Some(NonZeroU32::new(52121).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::proc_macro_mod,
                        since: "1.27.0",
                        issue: to_nonzero(Some(54727)),
                    },
                    reason: Some("subsumed by `#![feature(proc_macro_hygiene)]`"),
                    pull: Some(NonZeroU32::new(52121).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::proc_macro_non_items,
                        since: "1.27.0",
                        issue: to_nonzero(Some(54727)),
                    },
                    reason: Some("subsumed by `#![feature(proc_macro_hygiene)]`"),
                    pull: Some(NonZeroU32::new(52121).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::pub_macro_rules,
                        since: "1.53.0",
                        issue: to_nonzero(Some(78855)),
                    },
                    reason: Some("removed due to being incomplete, in particular it does not work across crates"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::pushpop_unsafe,
                        since: "1.2.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::quad_precision_float,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::quote,
                        since: "1.33.0",
                        issue: to_nonzero(Some(29601)),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::ref_pat_everywhere,
                        since: "1.80.0",
                        issue: to_nonzero(Some(123076)),
                    },
                    reason: Some("superseded by `ref_pat_eat_one_layer_2024"),
                    pull: Some(NonZeroU32::new(125168).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::reflect,
                        since: "1.0.0",
                        issue: to_nonzero(Some(27749)),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::register_attr,
                        since: "1.65.0",
                        issue: to_nonzero(Some(66080)),
                    },
                    reason: Some("removed in favor of `#![register_tool]`"),
                    pull: Some(NonZeroU32::new(66070).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::rust_2018_preview,
                        since: "1.76.0",
                        issue: to_nonzero(None),
                    },
                    reason: Some("2018 Edition preview is no longer relevant"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::rustc_diagnostic_macros,
                        since: "1.38.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: Some(NonZeroU32::new(64139).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::sanitizer_runtime,
                        since: "1.17.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: Some(NonZeroU32::new(65241).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::simd,
                        since: "1.0.0",
                        issue: to_nonzero(Some(27731)),
                    },
                    reason: Some("removed in favor of `#[repr(simd)]`"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::start,
                        since: "1.86.0",
                        issue: to_nonzero(Some(29633)),
                    },
                    reason: Some("not portable enough and never RFC'd"),
                    pull: Some(NonZeroU32::new(134299).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::static_nobundle,
                        since: "1.63.0",
                        issue: to_nonzero(Some(37403)),
                    },
                    reason: Some(r#"subsumed by `#[link(kind = "static", modifiers = "-bundle", ...)]`"#),
                    pull: Some(NonZeroU32::new(95818).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::string_deref_patterns,
                        since: "1.94.0",
                        issue: to_nonzero(Some(87121)),
                    },
                    reason: Some("superseded by `deref_patterns`"),
                    pull: Some(NonZeroU32::new(150530).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::struct_inherit,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::test_removed_feature,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::unmarked_api,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::unnamed_fields,
                        since: "1.83.0",
                        issue: to_nonzero(Some(49804)),
                    },
                    reason: Some("feature needs redesign"),
                    pull: Some(NonZeroU32::new(131045).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::unsafe_no_drop_flag,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::unsized_locals,
                        since: "1.89.0",
                        issue: to_nonzero(Some(48055)),
                    },
                    reason: Some("removed due to implementation concerns; see https://github.com/rust-lang/rust/issues/111942"),
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::unsized_tuple_coercion,
                        since: "1.87.0",
                        issue: to_nonzero(Some(42877)),
                    },
                    reason: Some("The feature restricts possible layouts for tuples, and this restriction is not worth it."),
                    pull: Some(NonZeroU32::new(137728).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::untagged_unions,
                        since: "1.64.0",
                        issue: to_nonzero(Some(55149)),
                    },
                    reason: Some("unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more"),
                    pull: Some(NonZeroU32::new(97995).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::unwind_attributes,
                        since: "1.56.0",
                        issue: to_nonzero(Some(58760)),
                    },
                    reason: Some("use the C-unwind ABI instead"),
                    pull: Some(NonZeroU32::new(86155).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::visible_private_types,
                        since: "1.0.0",
                        issue: to_nonzero(None),
                    },
                    reason: None,
                    pull: None,
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::wasm_abi,
                        since: "1.81.0",
                        issue: to_nonzero(Some(83788)),
                    },
                    reason: Some("non-standard wasm ABI is no longer supported"),
                    pull: Some(NonZeroU32::new(127605).unwrap()),
                },
                RemovedFeature {
                    feature: Feature {
                        name: sym::concat_idents,
                        since: "1.90.0",
                        issue: to_nonzero(Some(29599)),
                    },
                    reason: Some("use the `${concat(..)}` metavariable expression instead"),
                    pull: Some(NonZeroU32::new(142704).unwrap()),
                }];declare_features! (
45    // -------------------------------------------------------------------------
46    // feature-group-start: removed features
47    // -------------------------------------------------------------------------
48
49    // Note that the version indicates when it got *removed*.
50    // When moving an unstable feature here, set the version number to
51    // `CURRENT RUSTC VERSION` with ` ` replaced by `_`.
52    // (But not all features below do this properly; many indicate the
53    // version they got originally added in.)
54
55    /// Allows using the `amdgpu-kernel` ABI.
56    (removed, abi_amdgpu_kernel, "1.77.0", Some(51575), None, 120495),
57    (removed, abi_c_cmse_nonsecure_call, "1.90.0", Some(81391), Some("renamed to abi_cmse_nonsecure_call"), 142146),
58    (removed, advanced_slice_patterns, "1.42.0", Some(62254),
59     Some("merged into `#![feature(slice_patterns)]`"), 67712),
60    (removed, allocator, "1.0.0", None, None),
61    /// Allows a test to fail without failing the whole suite.
62    (removed, allow_fail, "1.60.0", Some(46488), Some("removed due to no clear use cases"), 93416),
63    /// Allows users to enforce equality of associated constants `TraitImpl<AssocConst=3>`.
64    (removed, associated_const_equality, "1.94.0", Some(92827),
65     Some("merged into `min_generic_const_args`")),
66    (removed, await_macro, "1.38.0", Some(50547),
67     Some("subsumed by `.await` syntax"), 62293),
68    /// Allows using the `box $expr` syntax.
69    (removed, box_syntax, "1.70.0", Some(49733), Some("replaced with `#[rustc_box]`"), 108471),
70    /// Allows capturing disjoint fields in a closure/coroutine (RFC 2229).
71    (removed, capture_disjoint_fields, "1.69.0", Some(53488), Some("stabilized in Rust 2021"), 108550),
72    /// Allows comparing raw pointers during const eval.
73    (removed, const_compare_raw_pointers, "1.46.0", Some(53020),
74     Some("cannot be allowed in const eval in any meaningful way"), 73398),
75    /// Allows limiting the evaluation steps of const expressions
76    (removed, const_eval_limit, "1.72.0", Some(67217), Some("removed the limit entirely"), 103877),
77    /// Allows non-trivial generic constants which have to be manually propagated upwards.
78    (removed, const_evaluatable_checked, "1.56.0", Some(76560), Some("renamed to `generic_const_exprs`"), 88369),
79    /// Allows the definition of `const` functions with some advanced features.
80    (removed, const_fn, "1.54.0", Some(57563),
81     Some("split into finer-grained feature gates"), 85109),
82    /// Allows const generic types (e.g. `struct Foo<const N: usize>(...);`).
83    (removed, const_generics, "1.56.0", Some(44580),
84     Some("removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`"), 88369),
85    /// Allows `[x; N]` where `x` is a constant (RFC 2203).
86    (removed, const_in_array_repeat_expressions,  "1.51.0", Some(49147),
87     Some("removed due to causing promotable bugs"), 80404),
88    /// Allows casting raw pointers to `usize` during const eval.
89    (removed, const_raw_ptr_to_usize_cast, "1.55.0", Some(51910),
90     Some("at compile-time, pointers do not have an integer value, so these casts cannot be properly supported"), 87020),
91    /// Allows `T: ?const Trait` syntax in bounds.
92    (removed, const_trait_bound_opt_out, "1.56.0", Some(67794),
93     Some("Removed in favor of `[const]` bound in #![feature(const_trait_impl)]"), 88328),
94    /// Allows using `crate` as visibility modifier, synonymous with `pub(crate)`.
95    (removed, crate_visibility_modifier, "1.63.0", Some(53120), Some("removed in favor of `pub(crate)`"), 97254),
96    /// Allows using custom attributes (RFC 572).
97    (removed, custom_attribute, "1.0.0", Some(29642),
98     Some("removed in favor of `#![register_tool]` and `#![register_attr]`"), 66070),
99    /// Allows the use of `#[derive(Anything)]` as sugar for `#[derive_Anything]`.
100    (removed, custom_derive, "1.32.0", Some(29644),
101     Some("subsumed by `#[proc_macro_derive]`")),
102    /// Allows default type parameters to influence type inference.
103    (removed, default_type_parameter_fallback, "1.82.0", Some(27336),
104     Some("never properly implemented; requires significant design work"), 127655),
105    /// Allows using `#[deprecated_safe]` to deprecate the safeness of a function or trait
106    (removed, deprecated_safe, "CURRENT_RUSTC_VERSION", Some(94978), Some("never properly implemented, in the way of attribute refactor"), 152554),
107    /// Allows deriving traits as per `SmartPointer` specification
108    (removed, derive_smart_pointer, "1.84.0", Some(123430), Some("replaced by `CoercePointee`"), 131284),
109    /// Tells rustdoc to automatically generate `#[doc(cfg(...))]`.
110    (removed, doc_auto_cfg, "1.92.0", Some(43781), Some("merged into `doc_cfg`"), 138907),
111    /// Allows `#[doc(cfg_hide(...))]`.
112    (removed, doc_cfg_hide, "1.92.0", Some(43781), Some("merged into `doc_cfg`"), 138907),
113    /// Allows using `#[doc(keyword = "...")]`.
114    (removed, doc_keyword, "1.58.0", Some(51315),
115     Some("merged into `#![feature(rustdoc_internals)]`"), 90420),
116    /// Allows using `doc(primitive)` without a future-incompat warning.
117    (removed, doc_primitive, "1.58.0", Some(88070),
118     Some("merged into `#![feature(rustdoc_internals)]`"), 90420),
119    /// Allows `#[doc(spotlight)]`.
120    /// The attribute was renamed to `#[doc(notable_trait)]`
121    /// and the feature to `doc_notable_trait`.
122    (removed, doc_spotlight, "1.53.0", Some(45040),
123     Some("renamed to `doc_notable_trait`"), 80965),
124    /// Allows using `#[unsafe_destructor_blind_to_params]` (RFC 1238).
125    (removed, dropck_parametricity, "1.38.0", Some(28498), None),
126    /// Allows making `dyn Trait` well-formed even if `Trait` is not dyn compatible[^1].
127    /// In that case, `dyn Trait: Trait` does not hold. Moreover, coercions and
128    /// casts in safe Rust to `dyn Trait` for such a `Trait` is also forbidden.
129    ///
130    /// Renamed from `object_safe_for_dispatch`.
131    ///
132    /// [^1]: Formerly known as "object safe".
133    (removed, dyn_compatible_for_dispatch, "1.87.0", Some(43561),
134     Some("removed, not used heavily and represented additional complexity in dyn compatibility"), 136522),
135    /// Allows `dyn* Trait` objects.
136    (removed, dyn_star, "1.65.0", Some(102425),
137     Some("removed as it was no longer necessary for AFIDT (async fn in dyn trait) support")),
138    /// Uses generic effect parameters for [const] bounds
139    (removed, effects, "1.84.0", Some(102090),
140     Some("removed, redundant with `#![feature(const_trait_impl)]`"), 132479),
141    /// Allows defining `existential type`s.
142    (removed, existential_type, "1.38.0", Some(63063),
143     Some("removed in favor of `#![feature(type_alias_impl_trait)]`")),
144    /// Paths of the form: `extern::foo::bar`
145    (removed, extern_in_paths, "1.33.0", Some(55600),
146     Some("subsumed by `::foo::bar` paths"), 57572),
147    /// Allows `#[doc(include = "some-file")]`.
148    (removed, external_doc, "1.54.0", Some(44732),
149     Some("use #[doc = include_str!(\"filename\")] instead, which handles macro invocations"), 85457),
150    /// Allows using `#[ffi_returns_twice]` on foreign functions.
151    (removed, ffi_returns_twice, "1.78.0", Some(58314),
152     Some("being investigated by the ffi-unwind project group"), 120502),
153    /// Allows generators to be cloned.
154    (removed, generator_clone, "1.75.0", Some(95360), Some("renamed to `coroutine_clone`"), 116958),
155    /// Allows defining generators.
156    (removed, generators, "1.75.0", Some(43122), Some("renamed to `coroutines`"), 116958),
157    /// An extension to the `generic_associated_types` feature, allowing incomplete features.
158    (removed, generic_associated_types_extended, "1.85.0", Some(95451),
159        Some(
160            "feature needs overhaul and reimplementation pending \
161            better implied higher-ranked implied bounds support"
162        ),
163        133768
164    ),
165    (removed, import_shadowing, "1.0.0", None, None),
166    /// Allows in-band quantification of lifetime bindings (e.g., `fn foo(x: &'a u8) -> &'a u8`).
167    (removed, in_band_lifetimes, "1.61.0", Some(44524),
168     Some("removed due to unsolved ergonomic questions and added lifetime resolution complexity"), 93845),
169    /// Allows inferring `'static` outlives requirements (RFC 2093).
170    (removed, infer_static_outlives_requirements, "1.63.0", Some(54185),
171     Some("removed as it caused some confusion and discussion was inactive for years"), 97875),
172    /// Allow anonymous constants from an inline `const` block in pattern position
173    (removed, inline_const_pat, "1.88.0", Some(76001),
174     Some("removed due to implementation concerns as it requires significant refactorings"), 138492),
175    /// Lazily evaluate constants. This allows constants to depend on type parameters.
176    (removed, lazy_normalization_consts, "1.56.0", Some(72219), Some("superseded by `generic_const_exprs`"), 88369),
177    /// Changes `impl Trait` to capture all lifetimes in scope.
178    (removed, lifetime_capture_rules_2024, "1.87.0", None, Some("unnecessary -- use edition 2024 instead"), 136787),
179    /// Allows using the `#[link_args]` attribute.
180    (removed, link_args, "1.53.0", Some(29596),
181     Some("removed in favor of using `-C link-arg=ARG` on command line, \
182           which is available from cargo build scripts with `cargo:rustc-link-arg` now"), 83820),
183    (removed, macro_reexport, "1.0.0", Some(29638),
184     Some("subsumed by `pub use`"), 49982),
185    /// Allows using `#[main]` to replace the entrypoint `#[lang = "start"]` calls.
186    (removed, main, "1.53.0", Some(29634), None, 84217),
187    (removed, managed_boxes, "1.0.0", None, None),
188    /// Allows the use of type alias impl trait in function return positions
189    (removed, min_type_alias_impl_trait, "1.56.0", Some(63063),
190     Some("removed in favor of full type_alias_impl_trait"), 87564),
191    /// Make `mut` not reset the binding mode on edition >= 2024.
192    (removed, mut_preserve_binding_mode_2024, "1.80.0", Some(123076), Some("superseded by `ref_pat_eat_one_layer_2024`"), 125168),
193    (removed, needs_allocator, "1.4.0", Some(27389),
194     Some("subsumed by `#![feature(allocator_internals)]`")),
195    /// Allows use of unary negate on unsigned integers, e.g., -e for e: u8
196    (removed, negate_unsigned, "1.0.0", Some(29645), None),
197    /// Allows diverging expressions to fall back to `!` rather than `()`.
198    (removed, never_type_fallback, "1.93.0", Some(65992), Some("removed in favor of unconditional fallback"), 148871),
199    /// Allows `#[no_coverage]` on functions.
200    /// The feature was renamed to `coverage_attribute` and the attribute to `#[coverage(on|off)]`
201    (removed, no_coverage, "1.74.0", Some(84605), Some("renamed to `coverage_attribute`"), 114656),
202    /// Allows `#[no_debug]`.
203    (removed, no_debug, "1.43.0", Some(29721), Some("removed due to lack of demand"), 69667),
204    // Allows the use of `no_sanitize` attribute.
205    /// The feature was renamed to `sanitize` and the attribute to `#[sanitize(xyz = "on|off")]`
206    (removed, no_sanitize, "1.91.0", Some(39699), Some(r#"renamed to sanitize(xyz = "on|off")"#), 142681),
207    /// Note: this feature was previously recorded in a separate
208    /// `STABLE_REMOVED` list because it, uniquely, was once stable but was
209    /// then removed. But there was no utility storing it separately, so now
210    /// it's in this list.
211    (removed, no_stack_check, "1.0.0", None, None, 40110),
212    /// Allows making `dyn Trait` well-formed even if `Trait` is not dyn compatible (object safe).
213    /// Renamed to `dyn_compatible_for_dispatch`.
214    (removed, object_safe_for_dispatch, "1.83.0", Some(43561),
215     Some("renamed to `dyn_compatible_for_dispatch`"), 131511),
216    /// Allows using `#[omit_gdb_pretty_printer_section]`.
217    (removed, omit_gdb_pretty_printer_section, "1.91.0", None, None, 144738),
218    /// Allows using `#[on_unimplemented(..)]` on traits.
219    /// (Moved to `rustc_attrs`.)
220    (removed, on_unimplemented, "1.40.0", None, None, 65794),
221    /// A way to temporarily opt out of opt-in copy. This will *never* be accepted.
222    (removed, opt_out_copy, "1.0.0", None, None, 20740),
223    /// Allows features specific to OIBIT (now called auto traits).
224    /// Renamed to `auto_traits`.
225    (removed, optin_builtin_traits, "1.50.0", Some(13231),
226     Some("renamed to `auto_traits`"), 79336),
227    /// Allows overlapping impls of marker traits.
228    (removed, overlapping_marker_traits, "1.42.0", Some(29864),
229     Some("removed in favor of `#![feature(marker_trait_attr)]`"), 68544),
230    (removed, panic_implementation, "1.28.0", Some(44489),
231     Some("subsumed by `#[panic_handler]`"), 53619),
232    /// Allows `extern "platform-intrinsic" { ... }`.
233    (removed, platform_intrinsics, "1.78.0", Some(27731),
234     Some("SIMD intrinsics use the regular intrinsics ABI now"), 121516),
235    /// Allows using `#![plugin(myplugin)]`.
236    (removed, plugin, "1.75.0", Some(29597),
237     Some("plugins are no longer supported"), 116412),
238    /// Allows using `#[plugin_registrar]` on functions.
239    (removed, plugin_registrar, "1.75.0", Some(29597),
240     Some("plugins are no longer supported"), 116412),
241    /// Allows exhaustive integer pattern matching with `usize::MAX`/`isize::MIN`/`isize::MAX`.
242    (removed, precise_pointer_size_matching, "1.76.0", Some(56354),
243     Some("removed in favor of half-open ranges"), 118598),
244    (removed, pref_align_of, "1.89.0", Some(91971),
245     Some("removed due to marginal use and inducing compiler complications")),
246    (removed, proc_macro_expr, "1.27.0", Some(54727),
247     Some("subsumed by `#![feature(proc_macro_hygiene)]`"), 52121),
248    (removed, proc_macro_gen, "1.27.0", Some(54727),
249     Some("subsumed by `#![feature(proc_macro_hygiene)]`"), 52121),
250    (removed, proc_macro_mod, "1.27.0", Some(54727),
251     Some("subsumed by `#![feature(proc_macro_hygiene)]`"), 52121),
252    (removed, proc_macro_non_items, "1.27.0", Some(54727),
253     Some("subsumed by `#![feature(proc_macro_hygiene)]`"), 52121),
254    (removed, pub_macro_rules, "1.53.0", Some(78855),
255     Some("removed due to being incomplete, in particular it does not work across crates")),
256    (removed, pushpop_unsafe, "1.2.0", None, None),
257    (removed, quad_precision_float, "1.0.0", None, None),
258    (removed, quote, "1.33.0", Some(29601), None),
259    (removed, ref_pat_everywhere, "1.80.0", Some(123076), Some("superseded by `ref_pat_eat_one_layer_2024"), 125168),
260    (removed, reflect, "1.0.0", Some(27749), None),
261    /// Allows using the `#[register_attr]` attribute.
262    (removed, register_attr, "1.65.0", Some(66080),
263     Some("removed in favor of `#![register_tool]`"), 66070),
264    (removed, rust_2018_preview, "1.76.0", None,
265     Some("2018 Edition preview is no longer relevant")),
266    /// Allows using the macros:
267    /// + `__diagnostic_used`
268    /// + `__register_diagnostic`
269    /// +`__build_diagnostic_array`
270    (removed, rustc_diagnostic_macros, "1.38.0", None, None, 64139),
271    /// Allows identifying crates that contain sanitizer runtimes.
272    (removed, sanitizer_runtime, "1.17.0", None, None, 65241),
273    (removed, simd, "1.0.0", Some(27731), Some("removed in favor of `#[repr(simd)]`")),
274    /// Allows using `#[start]` on a function indicating that it is the program entrypoint.
275    (removed, start, "1.86.0", Some(29633), Some("not portable enough and never RFC'd"), 134299),
276    /// Allows `#[link(kind = "static-nobundle", ...)]`.
277    (removed, static_nobundle, "1.63.0", Some(37403),
278     Some(r#"subsumed by `#[link(kind = "static", modifiers = "-bundle", ...)]`"#), 95818),
279    /// Allows string patterns to dereference values to match them.
280    (removed, string_deref_patterns, "1.94.0", Some(87121), Some("superseded by `deref_patterns`"), 150530),
281    (removed, struct_inherit, "1.0.0", None, None),
282    (removed, test_removed_feature, "1.0.0", None, None),
283    /// Allows using items which are missing stability attributes
284    (removed, unmarked_api, "1.0.0", None, None),
285    /// Allows unnamed fields of struct and union type
286    (removed, unnamed_fields, "1.83.0", Some(49804), Some("feature needs redesign"), 131045),
287    (removed, unsafe_no_drop_flag, "1.0.0", None, None),
288    /// Allows unsized rvalues at arguments and parameters.
289    (removed, unsized_locals, "1.89.0", Some(48055), Some("removed due to implementation concerns; see https://github.com/rust-lang/rust/issues/111942")),
290    (removed, unsized_tuple_coercion, "1.87.0", Some(42877),
291     Some("The feature restricts possible layouts for tuples, and this restriction is not worth it."), 137728),
292    /// Allows `union` fields that don't implement `Copy` as long as they don't have any drop glue.
293    (removed, untagged_unions, "1.64.0", Some(55149),
294     Some("unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more"), 97995),
295    /// Allows `#[unwind(..)]`.
296    ///
297    /// Permits specifying whether a function should permit unwinding or abort on unwind.
298    (removed, unwind_attributes, "1.56.0", Some(58760), Some("use the C-unwind ABI instead"), 86155),
299    (removed, visible_private_types, "1.0.0", None, None),
300    /// Allows `extern "wasm" fn`
301    (removed, wasm_abi, "1.81.0", Some(83788),
302     Some("non-standard wasm ABI is no longer supported"), 127605),
303    // !!!!    !!!!    !!!!    !!!!   !!!!    !!!!    !!!!    !!!!    !!!!    !!!!    !!!!
304    // Features are listed in alphabetical order. Tidy will fail if you don't keep it this way.
305    // !!!!    !!!!    !!!!    !!!!   !!!!    !!!!    !!!!    !!!!    !!!!    !!!!    !!!!
306
307    // -------------------------------------------------------------------------
308    // feature-group-end: removed features
309    // -------------------------------------------------------------------------
310
311
312    // -------------------------------------------------------------------------
313    // feature-group-start: removed library features
314    // -------------------------------------------------------------------------
315    //
316    // FIXME(#141617): we should have a better way to track removed library features, but we reuse
317    // the infrastructure here so users still get hints. The symbols used here can be remove from
318    // `symbol.rs` when that happens.
319    (removed, concat_idents, "1.90.0", Some(29599),
320     Some("use the `${concat(..)}` metavariable expression instead"), 142704),
321    // -------------------------------------------------------------------------
322    // feature-group-end: removed library features
323    // -------------------------------------------------------------------------
324);