Use allow_internal_unstable
and add unstable reason
This commit is contained in:
parent
20f2d8b841
commit
b9a95d8990
20 changed files with 3 additions and 21 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue