diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2024-01-14 13:48:58 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2024-01-14 19:07:13 +0000 |
| commit | eb63d3a49d7681d6ede7dc1bcac7bb1125ff7132 (patch) | |
| tree | f3c4b00d316fecb0e1238ff3530b7fe81359efcd /compiler/rustc_index_macros/src/lib.rs | |
| parent | 0529ccf341516b098554ccc82a77553159316c2a (diff) | |
| download | rust-eb63d3a49d7681d6ede7dc1bcac7bb1125ff7132.tar.gz rust-eb63d3a49d7681d6ede7dc1bcac7bb1125ff7132.zip | |
`allow_internal_unstable(min_specialization)` on `newtype_index`
Diffstat (limited to 'compiler/rustc_index_macros/src/lib.rs')
| -rw-r--r-- | compiler/rustc_index_macros/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_index_macros/src/lib.rs b/compiler/rustc_index_macros/src/lib.rs index ac374a41eb6..b0bf4554ba8 100644 --- a/compiler/rustc_index_macros/src/lib.rs +++ b/compiler/rustc_index_macros/src/lib.rs @@ -36,6 +36,9 @@ mod newtype; feature = "nightly", allow_internal_unstable(step_trait, rustc_attrs, trusted_step, spec_option_partial_eq) )] +// 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) } |
