diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2022-11-01 00:11:35 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2022-11-01 00:11:35 +0000 |
| commit | b9a95d89902a6c9ba17dae21d84c2c04454bdddd (patch) | |
| tree | 23673417ca244877c772066fe338a4788fe8e3f8 /compiler/rustc_macros/src/lib.rs | |
| parent | 20f2d8b841c8b206f82d8950a6c029aa8cf385da (diff) | |
| download | rust-b9a95d89902a6c9ba17dae21d84c2c04454bdddd.tar.gz rust-b9a95d89902a6c9ba17dae21d84c2c04454bdddd.zip | |
Use `allow_internal_unstable` and add unstable reason
Diffstat (limited to 'compiler/rustc_macros/src/lib.rs')
| -rw-r--r-- | compiler/rustc_macros/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs index 36bda3e0f6b..607b9bd4437 100644 --- a/compiler/rustc_macros/src/lib.rs +++ b/compiler/rustc_macros/src/lib.rs @@ -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) } |
