diff options
| author | Michael Goulet <michael@errs.io> | 2023-10-24 00:16:14 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-11-18 00:20:00 +0000 | 
| commit | 4506681e2f53e17df0d74cd230948dc40f7d0e8d (patch) | |
| tree | 30f5887e9c39e750fd89e72b7007075a11c81be3 /compiler/rustc_index/src | |
| parent | 2831701757eb7b3105eda26a306c2f3a97e2664b (diff) | |
| download | rust-4506681e2f53e17df0d74cd230948dc40f7d0e8d.tar.gz rust-4506681e2f53e17df0d74cd230948dc40f7d0e8d.zip | |
Begin nightly-ifying rustc_type_ir
Diffstat (limited to 'compiler/rustc_index/src')
| -rw-r--r-- | compiler/rustc_index/src/lib.rs | 3 | ||||
| -rw-r--r-- | compiler/rustc_index/src/vec/tests.rs | 2 | 
2 files changed, 2 insertions, 3 deletions
| diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs index 061c55c0150..c5602392c53 100644 --- a/compiler/rustc_index/src/lib.rs +++ b/compiler/rustc_index/src/lib.rs @@ -25,8 +25,7 @@ mod vec; pub use {idx::Idx, slice::IndexSlice, vec::IndexVec}; -#[cfg(feature = "rustc_macros")] -pub use rustc_macros::newtype_index; +pub use rustc_index_macros::newtype_index; /// Type size assertion. The first argument is a type and the second argument is its expected size. /// diff --git a/compiler/rustc_index/src/vec/tests.rs b/compiler/rustc_index/src/vec/tests.rs index 7e5e41bd2d1..1959f4e07b7 100644 --- a/compiler/rustc_index/src/vec/tests.rs +++ b/compiler/rustc_index/src/vec/tests.rs @@ -1,7 +1,7 @@ // Allows the macro invocation below to work use crate as rustc_index; -rustc_macros::newtype_index! { +crate::newtype_index! { #[max = 0xFFFF_FFFA] struct MyIdx {} } | 
