Skip to content

Commit 5fdc3e4

Browse files
committed
allow_internal_unstable(min_specialization) on newtype_index
1 parent 0529ccf commit 5fdc3e4

File tree

1 file changed

+3
-0
lines changed
  • compiler/rustc_index_macros/src

1 file changed

+3
-0
lines changed

compiler/rustc_index_macros/src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ mod newtype;
3636
feature = "nightly",
3737
allow_internal_unstable(step_trait, rustc_attrs, trusted_step, spec_option_partial_eq)
3838
)]
39+
// FIXME: Remove the above comment about `min_specialization` once bootstrap is bumped,
40+
// and the corresponding one on SpecOptionPartialEq
41+
#[cfg_attr(all(feature = "nightly", not(bootstrap)), allow_internal_unstable(min_specialization))]
3942
pub fn newtype_index(input: TokenStream) -> TokenStream {
4043
newtype::newtype(input)
4144
}

0 commit comments

Comments
 (0)