diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-05-31 12:08:58 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-05-31 12:13:47 +0200 |
| commit | 9de82d7611cd75fda0f0def322525b8942381bec (patch) | |
| tree | 549b0ae3419f9342e6b5769161fe49dc37a22e7e | |
| parent | b4ed7114bd307b230ac032931753ad5fc2819797 (diff) | |
| download | rust-9de82d7611cd75fda0f0def322525b8942381bec.tar.gz rust-9de82d7611cd75fda0f0def322525b8942381bec.zip | |
Use allow_internal_unstable more in rustc_index
| -rw-r--r-- | compiler/rustc_index/src/lib.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_index/src/vec.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_span/src/lib.rs | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs index 04d62391c02..4c73b7bf612 100644 --- a/compiler/rustc_index/src/lib.rs +++ b/compiler/rustc_index/src/lib.rs @@ -6,7 +6,6 @@ #![feature(unboxed_closures)] #![feature(test)] #![feature(fn_traits)] -#![feature(trusted_step)] pub mod bit_set; pub mod vec; diff --git a/compiler/rustc_index/src/vec.rs b/compiler/rustc_index/src/vec.rs index 3f759f4023b..246fa28d986 100644 --- a/compiler/rustc_index/src/vec.rs +++ b/compiler/rustc_index/src/vec.rs @@ -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 ---- diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs index dc15c531d1e..4e650d7714d 100644 --- a/compiler/rustc_span/src/lib.rs +++ b/compiler/rustc_span/src/lib.rs @@ -21,7 +21,6 @@ #![feature(nll)] #![feature(min_specialization)] #![feature(thread_local_const_init)] -#![feature(trusted_step)] #[macro_use] extern crate rustc_macros; |
