diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-02-05 07:34:48 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-02-08 07:44:34 -0500 |
| commit | 9a5034a20ed8b055dc615271f9d9cf27f9e494f0 (patch) | |
| tree | 33978c4d51e3177a8f2023c8ab23e7c671900457 /compiler/rustc_index_macros | |
| parent | 9784a14859aeffa2a3819566ccc77a28f9ae03be (diff) | |
| download | rust-9a5034a20ed8b055dc615271f9d9cf27f9e494f0.tar.gz rust-9a5034a20ed8b055dc615271f9d9cf27f9e494f0.zip | |
Step all bootstrap cfgs forward
This also takes care of other bootstrap-related changes.
Diffstat (limited to 'compiler/rustc_index_macros')
| -rw-r--r-- | compiler/rustc_index_macros/src/lib.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/rustc_index_macros/src/lib.rs b/compiler/rustc_index_macros/src/lib.rs index 72567b43a5f..532cac5791e 100644 --- a/compiler/rustc_index_macros/src/lib.rs +++ b/compiler/rustc_index_macros/src/lib.rs @@ -31,17 +31,17 @@ mod newtype; /// - `#[max = 0xFFFF_FFFD]`: specifies the max value, which allows niche /// optimizations. The default max value is 0xFFFF_FF00. /// - `#[gate_rustc_only]`: makes parts of the generated code nightly-only. -/// -/// `SpecOptionPartialEq` is specialized by this macro, so using it requires enabling -/// `#![feature(min_specialization)]` for the crate. #[proc_macro] #[cfg_attr( feature = "nightly", - allow_internal_unstable(step_trait, rustc_attrs, trusted_step, spec_option_partial_eq) + allow_internal_unstable( + step_trait, + rustc_attrs, + trusted_step, + spec_option_partial_eq, + min_specialization + ) )] -// FIXME: Remove the above comment about `min_specialization` once bootstrap is bumped, -// and the corresponding one on SpecOptionPartialEq -#[cfg_attr(all(feature = "nightly", not(bootstrap)), allow_internal_unstable(min_specialization))] pub fn newtype_index(input: TokenStream) -> TokenStream { newtype::newtype(input) } |
