Move hashes from rustc_data_structure to rustc_hashes so they can be shared with rust-analyzer
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use rustc_data_structures::stable_hasher::Hash64;
|
||||
use rustc_hashes::Hash64;
|
||||
use rustc_span::def_id::DefIndex;
|
||||
|
||||
#[derive(Clone, Default)]
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
use std::fmt::{self, Write};
|
||||
use std::hash::Hash;
|
||||
|
||||
use rustc_data_structures::stable_hasher::{Hash64, StableHasher};
|
||||
use rustc_data_structures::stable_hasher::StableHasher;
|
||||
use rustc_data_structures::unord::UnordMap;
|
||||
use rustc_hashes::Hash64;
|
||||
use rustc_index::IndexVec;
|
||||
use rustc_macros::{Decodable, Encodable};
|
||||
use rustc_span::{Symbol, kw, sym};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#![allow(rustc::symbol_intern_string_literal)]
|
||||
|
||||
use rustc_data_structures::stable_hasher::Hash64;
|
||||
use rustc_hashes::Hash64;
|
||||
use rustc_span::def_id::{DefPathHash, StableCrateId};
|
||||
use rustc_span::edition::Edition;
|
||||
use rustc_span::{Symbol, create_session_globals_then};
|
||||
|
||||
Reference in New Issue
Block a user