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

@ -6,7 +6,6 @@
#![feature(unboxed_closures)]
#![feature(test)]
#![feature(fn_traits)]
#![feature(trusted_step)]
pub mod bit_set;
pub mod vec;

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 ----

View File

@ -21,7 +21,6 @@
#![feature(nll)]
#![feature(min_specialization)]
#![feature(thread_local_const_init)]
#![feature(trusted_step)]
#[macro_use]
extern crate rustc_macros;