Use allow_internal_unstable more in rustc_index

This commit is contained in:
bjorn3 2021-05-31 12:08:58 +02:00
parent b4ed7114bd
commit 9de82d7611
3 changed files with 1 additions and 3 deletions

View file

@ -65,7 +65,7 @@ impl Idx for u32 {
/// `u32::MAX`. You can also customize things like the `Debug` impl,
/// what traits are derived, and so forth via the macro.
#[macro_export]
#[allow_internal_unstable(step_trait, rustc_attrs)]
#[allow_internal_unstable(step_trait, rustc_attrs, trusted_step)]
macro_rules! newtype_index {
// ---- public rules ----