Use allow_internal_unstable and add unstable reason

This commit is contained in:
clubby789 2022-11-01 00:11:35 +00:00
parent 20f2d8b841
commit b9a95d8990
20 changed files with 3 additions and 21 deletions

View file

@ -47,7 +47,7 @@ pub fn symbols(input: TokenStream) -> TokenStream {
/// `u32::MAX`. You can also customize things like the `Debug` impl,
/// what traits are derived, and so forth via the macro.
#[proc_macro]
#[allow_internal_unstable(step_trait, rustc_attrs, trusted_step)]
#[allow_internal_unstable(step_trait, rustc_attrs, trusted_step, spec_option_partial_eq)]
pub fn newtype_index(input: TokenStream) -> TokenStream {
newtype::newtype(input)
}