Skip to content

Commit 9de82d7

Browse files
committed
Use allow_internal_unstable more in rustc_index
1 parent b4ed711 commit 9de82d7

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

compiler/rustc_index/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#![feature(unboxed_closures)]
77
#![feature(test)]
88
#![feature(fn_traits)]
9-
#![feature(trusted_step)]
109

1110
pub mod bit_set;
1211
pub mod vec;

compiler/rustc_index/src/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl Idx for u32 {
6565
/// `u32::MAX`. You can also customize things like the `Debug` impl,
6666
/// what traits are derived, and so forth via the macro.
6767
#[macro_export]
68-
#[allow_internal_unstable(step_trait, rustc_attrs)]
68+
#[allow_internal_unstable(step_trait, rustc_attrs, trusted_step)]
6969
macro_rules! newtype_index {
7070
// ---- public rules ----
7171

compiler/rustc_span/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#![feature(nll)]
2222
#![feature(min_specialization)]
2323
#![feature(thread_local_const_init)]
24-
#![feature(trusted_step)]
2524

2625
#[macro_use]
2726
extern crate rustc_macros;

0 commit comments

Comments
 (0)