about summary refs log tree commit diff
path: root/src/librustc_span
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2020-01-05 15:01:00 +0000
committerMatthew Jasper <mjjasper1@gmail.com>2020-01-06 20:43:10 +0000
commit9462c8babb8743a12ffa467dfc10f7b03a2f77c8 (patch)
treed21f54b512001a0ad5a75e590988e0f8e625bdc0 /src/librustc_span
parentebbb2bf37aedaaa64dfaa52ba337ca6efb6b9093 (diff)
downloadrust-9462c8babb8743a12ffa467dfc10f7b03a2f77c8.tar.gz
rust-9462c8babb8743a12ffa467dfc10f7b03a2f77c8.zip
Improve hygiene of `newtype_index`
Also add unit tests
Diffstat (limited to 'src/librustc_span')
-rw-r--r--src/librustc_span/symbol.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_span/symbol.rs b/src/librustc_span/symbol.rs
index fea72744d31..40abc8b2179 100644
--- a/src/librustc_span/symbol.rs
+++ b/src/librustc_span/symbol.rs
@@ -5,7 +5,6 @@
 use arena::DroplessArena;
 use rustc_data_structures::fx::FxHashMap;
 use rustc_data_structures::stable_hasher::{HashStable, StableHasher, ToStableHashKey};
-use rustc_index::vec::Idx;
 use rustc_macros::{symbols, HashStable_Generic};
 use rustc_serialize::{Decodable, Decoder, Encodable, Encoder};
 use rustc_serialize::{UseSpecializedDecodable, UseSpecializedEncodable};