1
Fork 0

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(unboxed_closures)]
#![feature(test)] #![feature(test)]
#![feature(fn_traits)] #![feature(fn_traits)]
#![feature(trusted_step)]
pub mod bit_set; pub mod bit_set;
pub mod vec; pub mod vec;

View file

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

View file

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