about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2023-04-19 10:57:17 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2023-04-24 13:53:35 +0000
commite496fbec922b22d9b506ba55386c482b4bf06378 (patch)
tree4dfaea897edd1520be88ed691073ea840143cec8 /compiler/rustc_macros/src
parent64bcb326516ef7490db46de88b87a4c0990097fe (diff)
downloadrust-e496fbec922b22d9b506ba55386c482b4bf06378.tar.gz
rust-e496fbec922b22d9b506ba55386c482b4bf06378.zip
Split `{Idx, IndexVec, IndexSlice}` into their own modules
Diffstat (limited to 'compiler/rustc_macros/src')
-rw-r--r--compiler/rustc_macros/src/newtype.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/newtype.rs b/compiler/rustc_macros/src/newtype.rs
index 78a6f74887d..415a89b0f92 100644
--- a/compiler/rustc_macros/src/newtype.rs
+++ b/compiler/rustc_macros/src/newtype.rs
@@ -254,7 +254,7 @@ impl Parse for Newtype {
                 }
             }
 
-            impl rustc_index::vec::Idx for #name {
+            impl rustc_index::Idx for #name {
                 #[inline]
                 fn new(value: usize) -> Self {
                     Self::from_usize(value)