Skip to content

Commit 02025d8

Browse files
committed
Remove re-export.
1 parent c355b2e commit 02025d8

File tree

31 files changed

+35
-26
lines changed

31 files changed

+35
-26
lines changed

Cargo.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3684,6 +3684,7 @@ dependencies = [
36843684
"rustc_llvm",
36853685
"rustc_metadata",
36863686
"rustc_middle",
3687+
"rustc_query_system",
36873688
"rustc_serialize",
36883689
"rustc_session",
36893690
"rustc_span",
@@ -3717,6 +3718,7 @@ dependencies = [
37173718
"rustc_macros",
37183719
"rustc_metadata",
37193720
"rustc_middle",
3721+
"rustc_query_system",
37203722
"rustc_serialize",
37213723
"rustc_session",
37223724
"rustc_span",
@@ -3744,6 +3746,7 @@ dependencies = [
37443746
"rustc_macros",
37453747
"rustc_middle",
37463748
"rustc_mir_dataflow",
3749+
"rustc_query_system",
37473750
"rustc_session",
37483751
"rustc_span",
37493752
"rustc_target",
@@ -4178,6 +4181,7 @@ dependencies = [
41784181
"rustc_index",
41794182
"rustc_middle",
41804183
"rustc_mir_dataflow",
4184+
"rustc_query_system",
41814185
"rustc_serialize",
41824186
"rustc_session",
41834187
"rustc_span",
@@ -4422,6 +4426,7 @@ dependencies = [
44224426
"rustc_data_structures",
44234427
"rustc_hir",
44244428
"rustc_middle",
4429+
"rustc_query_system",
44254430
"rustc_session",
44264431
"rustc_span",
44274432
"rustc_target",
@@ -4465,6 +4470,7 @@ dependencies = [
44654470
"rustc_macros",
44664471
"rustc_middle",
44674472
"rustc_parse_format",
4473+
"rustc_query_system",
44684474
"rustc_session",
44694475
"rustc_span",
44704476
"rustc_target",

compiler/rustc_codegen_llvm/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ rustc_hir = { path = "../rustc_hir" }
2626
rustc_index = { path = "../rustc_index" }
2727
rustc_llvm = { path = "../rustc_llvm" }
2828
rustc_metadata = { path = "../rustc_metadata" }
29+
rustc_query_system = { path = "../rustc_query_system" }
2930
rustc_session = { path = "../rustc_session" }
3031
rustc_serialize = { path = "../rustc_serialize" }
3132
rustc_target = { path = "../rustc_target" }

compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ use rustc_fs_util::path_to_c_string;
2626
use rustc_hir::def::CtorKind;
2727
use rustc_hir::def_id::{DefId, LOCAL_CRATE};
2828
use rustc_index::vec::{Idx, IndexVec};
29-
use rustc_middle::ich::NodeIdHashingMode;
3029
use rustc_middle::mir::{self, GeneratorLayout};
3130
use rustc_middle::ty::layout::{self, IntegerExt, LayoutOf, PrimitiveExt, TyAndLayout};
3231
use rustc_middle::ty::subst::GenericArgKind;
3332
use rustc_middle::ty::Instance;
3433
use rustc_middle::ty::{self, AdtKind, GeneratorSubsts, ParamEnv, Ty, TyCtxt};
3534
use rustc_middle::{bug, span_bug};
35+
use rustc_query_system::ich::NodeIdHashingMode;
3636
use rustc_session::config::{self, DebugInfo};
3737
use rustc_span::symbol::Symbol;
3838
use rustc_span::FileNameDisplayPreference;

compiler/rustc_codegen_ssa/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ rustc_incremental = { path = "../rustc_incremental" }
3333
rustc_index = { path = "../rustc_index" }
3434
rustc_macros = { path = "../rustc_macros" }
3535
rustc_metadata = { path = "../rustc_metadata" }
36+
rustc_query_system = { path = "../rustc_query_system" }
3637
rustc_target = { path = "../rustc_target" }
3738
rustc_session = { path = "../rustc_session" }
3839

compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
1616
use rustc_hir as hir;
1717
use rustc_hir::def_id::DefId;
1818
use rustc_hir::definitions::{DefPathData, DefPathDataName, DisambiguatedDefPathData};
19-
use rustc_middle::ich::NodeIdHashingMode;
2019
use rustc_middle::ty::layout::IntegerExt;
2120
use rustc_middle::ty::subst::{GenericArgKind, SubstsRef};
2221
use rustc_middle::ty::{self, AdtDef, ExistentialProjection, Ty, TyCtxt};
22+
use rustc_query_system::ich::NodeIdHashingMode;
2323
use rustc_target::abi::{Integer, TagEncoding, Variants};
2424
use smallvec::SmallVec;
2525

compiler/rustc_const_eval/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ rustc_infer = { path = "../rustc_infer" }
2121
rustc_macros = { path = "../rustc_macros" }
2222
rustc_middle = { path = "../rustc_middle" }
2323
rustc_mir_dataflow = { path = "../rustc_mir_dataflow" }
24+
rustc_query_system = { path = "../rustc_query_system" }
2425
rustc_session = { path = "../rustc_session" }
2526
rustc_target = { path = "../rustc_target" }
2627
rustc_trait_selection = { path = "../rustc_trait_selection" }

compiler/rustc_const_eval/src/interpret/eval_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
66
use rustc_hir::{self as hir, def_id::DefId, definitions::DefPathData};
77
use rustc_index::vec::IndexVec;
88
use rustc_macros::HashStable;
9-
use rustc_middle::ich::StableHashingContext;
109
use rustc_middle::mir;
1110
use rustc_middle::ty::layout::{self, LayoutError, LayoutOf, LayoutOfHelpers, TyAndLayout};
1211
use rustc_middle::ty::{
1312
self, query::TyCtxtAt, subst::SubstsRef, ParamEnv, Ty, TyCtxt, TypeFoldable,
1413
};
1514
use rustc_mir_dataflow::storage::AlwaysLiveLocals;
15+
use rustc_query_system::ich::StableHashingContext;
1616
use rustc_session::Limit;
1717
use rustc_span::{Pos, Span};
1818
use rustc_target::abi::{Align, HasDataLayout, Size, TargetDataLayout};

compiler/rustc_macros/src/hash_stable.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ pub fn hash_stable_derive(mut s: synstructure::Structure<'_>) -> proc_macro2::To
116116
s.bound_impl(
117117
quote!(
118118
::rustc_data_structures::stable_hasher::HashStable<
119-
::rustc_middle::ich::StableHashingContext<'__ctx>,
119+
::rustc_query_system::ich::StableHashingContext<'__ctx>,
120120
>
121121
),
122122
quote! {
123123
#[inline]
124124
fn hash_stable(
125125
&self,
126-
__hcx: &mut ::rustc_middle::ich::StableHashingContext<'__ctx>,
126+
__hcx: &mut ::rustc_query_system::ich::StableHashingContext<'__ctx>,
127127
__hasher: &mut ::rustc_data_structures::stable_hasher::StableHasher) {
128128
#discriminant
129129
match *self { #body }

compiler/rustc_middle/src/dep_graph/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
use crate::ich::StableHashingContext;
21
use crate::ty::{self, TyCtxt};
32
use rustc_data_structures::profiling::SelfProfilerRef;
43
use rustc_data_structures::sync::Lock;
4+
use rustc_query_system::ich::StableHashingContext;
55
use rustc_session::Session;
66

77
#[macro_use]

compiler/rustc_middle/src/hir/map/collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use crate::arena::Arena;
22
use crate::hir::map::Map;
33
use crate::hir::{IndexedHir, OwnerNodes, ParentedNode};
4-
use crate::ich::StableHashingContext;
54
use rustc_data_structures::fingerprint::Fingerprint;
65
use rustc_data_structures::fx::FxHashMap;
76
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
@@ -12,6 +11,7 @@ use rustc_hir::definitions;
1211
use rustc_hir::intravisit::{self, NestedVisitorMap, Visitor};
1312
use rustc_hir::*;
1413
use rustc_index::vec::{Idx, IndexVec};
14+
use rustc_query_system::ich::StableHashingContext;
1515
use rustc_session::Session;
1616
use rustc_span::source_map::SourceMap;
1717
use rustc_span::{Span, DUMMY_SP};

compiler/rustc_middle/src/hir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ pub mod exports;
66
pub mod map;
77
pub mod place;
88

9-
use crate::ich::StableHashingContext;
109
use crate::ty::query::Providers;
1110
use crate::ty::TyCtxt;
1211
use rustc_ast::Attribute;
@@ -16,6 +15,7 @@ use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
1615
use rustc_hir::def_id::LocalDefId;
1716
use rustc_hir::*;
1817
use rustc_index::vec::{Idx, IndexVec};
18+
use rustc_query_system::ich::StableHashingContext;
1919
use rustc_span::DUMMY_SP;
2020
use std::collections::BTreeMap;
2121

compiler/rustc_middle/src/ich.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
//! ICH - Incremental Compilation Hash
22
3-
pub use rustc_query_system::ich::{NodeIdHashingMode, StableHashingContext};
4-
53
mod impls_ty;

compiler/rustc_middle/src/ich/impls_ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//! This module contains `HashStable` implementations for various data types
22
//! from `rustc_middle::ty` in no particular order.
33
4-
use crate::ich::StableHashingContext;
54
use crate::middle::region;
65
use crate::mir;
76
use crate::ty;
87
use rustc_data_structures::fingerprint::Fingerprint;
98
use rustc_data_structures::fx::FxHashMap;
109
use rustc_data_structures::stable_hasher::{HashStable, StableHasher, ToStableHashKey};
10+
use rustc_query_system::ich::StableHashingContext;
1111
use std::cell::RefCell;
1212
use std::mem;
1313

compiler/rustc_middle/src/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use std::cmp;
22

3-
use crate::ich::StableHashingContext;
43
use rustc_data_structures::fx::FxHashMap;
54
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
65
use rustc_errors::{DiagnosticBuilder, DiagnosticId};
76
use rustc_hir::HirId;
87
use rustc_index::vec::IndexVec;
8+
use rustc_query_system::ich::StableHashingContext;
99
use rustc_session::lint::{
1010
builtin::{self, FORBIDDEN_LINT_GROUPS},
1111
FutureIncompatibilityReason, Level, Lint, LintId,

compiler/rustc_middle/src/middle/region.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
//!
77
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/borrow_check.html
88
9-
use crate::ich::{NodeIdHashingMode, StableHashingContext};
109
use crate::ty::TyCtxt;
1110
use rustc_hir as hir;
1211
use rustc_hir::Node;
12+
use rustc_query_system::ich::{NodeIdHashingMode, StableHashingContext};
1313

1414
use rustc_data_structures::fx::FxHashMap;
1515
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};

compiler/rustc_middle/src/mir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,8 +803,8 @@ pub enum ImplicitSelfKind {
803803
TrivialTypeFoldableAndLiftImpls! { BindingForm<'tcx>, }
804804

805805
mod binding_form_impl {
806-
use crate::ich::StableHashingContext;
807806
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
807+
use rustc_query_system::ich::StableHashingContext;
808808

809809
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for super::BindingForm<'tcx> {
810810
fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) {

compiler/rustc_middle/src/mir/mono.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use crate::dep_graph::{DepNode, WorkProduct, WorkProductId};
2-
use crate::ich::{NodeIdHashingMode, StableHashingContext};
32
use crate::ty::{subst::InternalSubsts, Instance, InstanceDef, SymbolName, TyCtxt};
43
use rustc_attr::InlineAttr;
54
use rustc_data_structures::base_n;
@@ -8,6 +7,7 @@ use rustc_data_structures::fx::FxHashMap;
87
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
98
use rustc_hir::def_id::{CrateNum, DefId, LOCAL_CRATE};
109
use rustc_hir::{HirId, ItemId};
10+
use rustc_query_system::ich::{NodeIdHashingMode, StableHashingContext};
1111
use rustc_session::config::OptLevel;
1212
use rustc_span::source_map::Span;
1313
use rustc_span::symbol::Symbol;

compiler/rustc_middle/src/traits/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//! The providers for the queries defined here can be found in
66
//! `rustc_traits`.
77
8-
use crate::ich::StableHashingContext;
98
use crate::infer::canonical::{Canonical, QueryResponse};
109
use crate::ty::error::TypeError;
1110
use crate::ty::subst::GenericArg;
@@ -14,6 +13,7 @@ use crate::ty::{self, Ty, TyCtxt};
1413
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
1514
use rustc_data_structures::sync::Lrc;
1615
use rustc_errors::struct_span_err;
16+
use rustc_query_system::ich::StableHashingContext;
1717
use rustc_span::source_map::Span;
1818
use std::iter::FromIterator;
1919
use std::mem;

compiler/rustc_middle/src/ty/adt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use crate::ich::StableHashingContext;
21
use crate::mir::interpret::ErrorHandled;
32
use crate::ty;
43
use crate::ty::util::{Discr, IntTypeExt};
@@ -11,6 +10,7 @@ use rustc_hir as hir;
1110
use rustc_hir::def::{DefKind, Res};
1211
use rustc_hir::def_id::DefId;
1312
use rustc_index::vec::{Idx, IndexVec};
13+
use rustc_query_system::ich::StableHashingContext;
1414
use rustc_serialize::{self, Encodable, Encoder};
1515
use rustc_session::DataTypeKind;
1616
use rustc_span::symbol::sym;

compiler/rustc_middle/src/ty/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
use crate::arena::Arena;
44
use crate::dep_graph::DepGraph;
55
use crate::hir::place::Place as HirPlace;
6-
use crate::ich::{NodeIdHashingMode, StableHashingContext};
76
use crate::infer::canonical::{Canonical, CanonicalVarInfo, CanonicalVarInfos};
87
use crate::lint::{struct_lint_level, LintDiagnosticBuilder, LintLevelSource};
98
use crate::middle;
@@ -45,6 +44,7 @@ use rustc_hir::{
4544
use rustc_index::vec::{Idx, IndexVec};
4645
use rustc_macros::HashStable;
4746
use rustc_middle::mir::FakeReadCause;
47+
use rustc_query_system::ich::{NodeIdHashingMode, StableHashingContext};
4848
use rustc_serialize::opaque::{FileEncodeResult, FileEncoder};
4949
use rustc_session::config::{BorrowckMode, CrateType, OutputFilenames};
5050
use rustc_session::lint::{Level, Lint};

compiler/rustc_middle/src/ty/fast_reject.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
use crate::ich::StableHashingContext;
21
use crate::ty::{self, Ty, TyCtxt};
32
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
43
use rustc_hir::def_id::DefId;
4+
use rustc_query_system::ich::StableHashingContext;
55
use std::fmt::Debug;
66
use std::hash::Hash;
77
use std::mem;

compiler/rustc_middle/src/ty/layout.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use crate::middle::codegen_fn_attrs::CodegenFnAttrFlags;
22
use crate::mir::{GeneratorLayout, GeneratorSavedLocal};
33
use crate::ty::subst::Subst;
44
use crate::ty::{self, subst::SubstsRef, ReprOptions, Ty, TyCtxt, TypeFoldable};
5-
65
use rustc_ast as ast;
76
use rustc_attr as attr;
87
use rustc_hir as hir;

compiler/rustc_middle/src/ty/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pub use generics::*;
2020
pub use vtable::*;
2121

2222
use crate::hir::exports::ExportMap;
23-
use crate::ich::StableHashingContext;
2423
use crate::mir::{Body, GeneratorLayout};
2524
use crate::traits::{self, Reveal};
2625
use crate::ty;
@@ -36,6 +35,7 @@ use rustc_hir::def::{CtorKind, CtorOf, DefKind, Res};
3635
use rustc_hir::def_id::{CrateNum, DefId, LocalDefId, LocalDefIdMap, CRATE_DEF_INDEX};
3736
use rustc_hir::Node;
3837
use rustc_macros::HashStable;
38+
use rustc_query_system::ich::StableHashingContext;
3939
use rustc_session::cstore::CrateStoreDyn;
4040
use rustc_span::symbol::{kw, Ident, Symbol};
4141
use rustc_span::Span;

compiler/rustc_middle/src/ty/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//! Miscellaneous type-system utilities that are too small to deserve their own modules.
22
3-
use crate::ich::NodeIdHashingMode;
43
use crate::middle::codegen_fn_attrs::CodegenFnAttrFlags;
54
use crate::ty::fold::TypeFolder;
65
use crate::ty::layout::IntegerExt;
@@ -18,6 +17,7 @@ use rustc_hir as hir;
1817
use rustc_hir::def::DefKind;
1918
use rustc_hir::def_id::DefId;
2019
use rustc_macros::HashStable;
20+
use rustc_query_system::ich::NodeIdHashingMode;
2121
use rustc_span::DUMMY_SP;
2222
use rustc_target::abi::{Integer, Size, TargetDataLayout};
2323
use smallvec::SmallVec;

compiler/rustc_mir_transform/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ rustc_index = { path = "../rustc_index" }
1919
rustc_middle = { path = "../rustc_middle" }
2020
rustc_const_eval = { path = "../rustc_const_eval" }
2121
rustc_mir_dataflow = { path = "../rustc_mir_dataflow" }
22+
rustc_query_system = { path = "../rustc_query_system" }
2223
rustc_serialize = { path = "../rustc_serialize" }
2324
rustc_session = { path = "../rustc_session" }
2425
rustc_target = { path = "../rustc_target" }

compiler/rustc_mir_transform/src/coverage/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ use rustc_data_structures::sync::Lrc;
2121
use rustc_index::vec::IndexVec;
2222
use rustc_middle::hir;
2323
use rustc_middle::hir::map::blocks::FnLikeNode;
24-
use rustc_middle::ich::StableHashingContext;
2524
use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;
2625
use rustc_middle::mir::coverage::*;
2726
use rustc_middle::mir::dump_enabled;
@@ -30,6 +29,7 @@ use rustc_middle::mir::{
3029
TerminatorKind,
3130
};
3231
use rustc_middle::ty::TyCtxt;
32+
use rustc_query_system::ich::StableHashingContext;
3333
use rustc_span::def_id::DefId;
3434
use rustc_span::source_map::SourceMap;
3535
use rustc_span::{CharPos, ExpnKind, Pos, SourceFile, Span, Symbol};

compiler/rustc_query_impl/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ use rustc_data_structures::fingerprint::Fingerprint;
2020
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
2121
use rustc_errors::DiagnosticBuilder;
2222
use rustc_middle::dep_graph;
23-
use rustc_middle::ich::StableHashingContext;
2423
use rustc_middle::ty::query::{query_keys, query_storage, query_stored, query_values};
2524
use rustc_middle::ty::query::{Providers, QueryEngine};
2625
use rustc_middle::ty::{self, TyCtxt};
26+
use rustc_query_system::ich::StableHashingContext;
2727
use rustc_span::Span;
2828

2929
#[macro_use]

compiler/rustc_query_impl/src/plumbing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl<'tcx> std::ops::Deref for QueryCtxt<'tcx> {
3636

3737
impl HasDepContext for QueryCtxt<'tcx> {
3838
type DepKind = rustc_middle::dep_graph::DepKind;
39-
type StableHashingContext = rustc_middle::ich::StableHashingContext<'tcx>;
39+
type StableHashingContext = rustc_query_system::ich::StableHashingContext<'tcx>;
4040
type DepContext = TyCtxt<'tcx>;
4141

4242
#[inline]

compiler/rustc_symbol_mangling/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ rustc_middle = { path = "../rustc_middle" }
1616
rustc_hir = { path = "../rustc_hir" }
1717
rustc_target = { path = "../rustc_target" }
1818
rustc_data_structures = { path = "../rustc_data_structures" }
19+
rustc_query_system = { path = "../rustc_query_system" }
1920
rustc_session = { path = "../rustc_session" }

compiler/rustc_symbol_mangling/src/legacy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
22
use rustc_hir::def_id::CrateNum;
33
use rustc_hir::definitions::{DefPathData, DisambiguatedDefPathData};
4-
use rustc_middle::ich::NodeIdHashingMode;
54
use rustc_middle::mir::interpret::{ConstValue, Scalar};
65
use rustc_middle::ty::print::{PrettyPrinter, Print, Printer};
76
use rustc_middle::ty::subst::{GenericArg, GenericArgKind};
87
use rustc_middle::ty::{self, Instance, Ty, TyCtxt, TypeFoldable};
98
use rustc_middle::util::common::record_time;
9+
use rustc_query_system::ich::NodeIdHashingMode;
1010

1111
use tracing::debug;
1212

0 commit comments

Comments
 (0)