allow_internal_unstable(min_specialization)
on newtype_index
This commit is contained in:
parent
0529ccf341
commit
eb63d3a49d
2 changed files with 22 additions and 13 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue