|
1 | 1 | use crate::dep_graph::{DepNodeIndex, SerializedDepNodeIndex};
|
2 |
| -use errors::Diagnostic; |
3 | 2 | use crate::hir;
|
4 | 3 | use crate::hir::def_id::{CrateNum, DefIndex, DefId, LocalDefId, LOCAL_CRATE};
|
5 | 4 | use crate::hir::map::definitions::DefPathHash;
|
6 | 5 | use crate::ich::{CachingSourceMapView, Fingerprint};
|
7 | 6 | use crate::mir::{self, interpret};
|
8 | 7 | use crate::mir::interpret::{AllocDecodingSession, AllocDecodingState};
|
9 |
| -use rustc_data_structures::fx::FxHashMap; |
10 |
| -use rustc_data_structures::thin_vec::ThinVec; |
11 |
| -use rustc_data_structures::sync::{Lrc, Lock, HashMapExt, Once}; |
12 |
| -use rustc_data_structures::indexed_vec::{IndexVec, Idx}; |
13 | 8 | use crate::rustc_serialize::{Decodable, Decoder, Encodable, Encoder, opaque,
|
14 | 9 | SpecializedDecoder, SpecializedEncoder,
|
15 | 10 | UseSpecializedDecodable, UseSpecializedEncodable};
|
16 | 11 | use crate::session::{CrateDisambiguator, Session};
|
| 12 | +use crate::ty; |
| 13 | +use crate::ty::codec::{self as ty_codec, TyDecoder, TyEncoder}; |
| 14 | +use crate::ty::context::TyCtxt; |
| 15 | +use crate::util::common::time; |
| 16 | + |
| 17 | +use errors::Diagnostic; |
| 18 | +use rustc_data_structures::fx::FxHashMap; |
| 19 | +use rustc_data_structures::thin_vec::ThinVec; |
| 20 | +use rustc_data_structures::sync::{Lrc, Lock, HashMapExt, Once}; |
| 21 | +use rustc_data_structures::indexed_vec::{IndexVec, Idx}; |
17 | 22 | use std::mem;
|
18 | 23 | use syntax::ast::NodeId;
|
19 | 24 | use syntax::source_map::{SourceMap, StableSourceFileId};
|
20 | 25 | use syntax_pos::{BytePos, Span, DUMMY_SP, SourceFile};
|
21 | 26 | use syntax_pos::hygiene::{Mark, SyntaxContext, ExpnInfo};
|
22 |
| -use crate::ty; |
23 |
| -use crate::ty::codec::{self as ty_codec, TyDecoder, TyEncoder}; |
24 |
| -use crate::ty::context::TyCtxt; |
25 |
| -use crate::util::common::time; |
26 | 27 |
|
27 | 28 | const TAG_FILE_FOOTER: u128 = 0xC0FFEE_C0FFEE_C0FFEE_C0FFEE_C0FFEE;
|
28 | 29 |
|
|
0 commit comments