diff options
Diffstat (limited to 'compiler/rustc_index/src/vec/tests.rs')
-rw-r--r-- | compiler/rustc_index/src/vec/tests.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_index/src/vec/tests.rs b/compiler/rustc_index/src/vec/tests.rs index cb0f0db22..381d79c24 100644 --- a/compiler/rustc_index/src/vec/tests.rs +++ b/compiler/rustc_index/src/vec/tests.rs @@ -1,9 +1,8 @@ -#![allow(dead_code)] - // Allows the macro invocation below to work use crate as rustc_index; -rustc_macros::newtype_index! { +crate::newtype_index! { + #[orderable] #[max = 0xFFFF_FFFA] struct MyIdx {} } |