We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
allow_internal_unstable(min_specialization)
newtype_index
1 parent 0529ccf commit 5fdc3e4Copy full SHA for 5fdc3e4
compiler/rustc_index_macros/src/lib.rs
@@ -36,6 +36,9 @@ mod newtype;
36
feature = "nightly",
37
allow_internal_unstable(step_trait, rustc_attrs, trusted_step, spec_option_partial_eq)
38
)]
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))]
42
pub fn newtype_index(input: TokenStream) -> TokenStream {
43
newtype::newtype(input)
44
}
0 commit comments